]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/mpc5200: PCI write combine timer
authorAndre Schwarz <andre.schwarz@matrix-vision.de>
Thu, 10 Jul 2008 09:53:16 +0000 (11:53 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 12 Jul 2008 18:10:12 +0000 (12:10 -0600)
commit6eb9d32298290b956693fd85c815b817d39a9505
tree96799533e195fdac4f4e19f5cbdd204bfd9899cf
parent0db9360aaa9b95b0cf67f82874809f16e68068eb
powerpc/mpc5200: PCI write combine timer

On MPC5200 the PCI target control register (PCITCR) @ MBAR + 0xD6C is
initialized with only bit 7 (Latrule disable) set. The 8-Bit write
combine timer (Bits 24..31) should be also set to a reasonable value
_greater zero_ (0x08 = default) since setting it to 0x00 leads to
_very poor_ performance as a PCI target since external burst won't be
possible at all.

Setting the WCT to 0x08 (cache-line size) leads to good overall perfomance.

Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/52xx/mpc52xx_pci.c