summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx/pci_mpc5200.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-04-18 11:05:03 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-04-18 11:05:03 +0200
commit8419c013048b1f15f3fa2fc7c0463d860a04ee3e (patch)
tree216f34989d4edfc76963ef09a4e3038ceac1018a /cpu/mpc5xxx/pci_mpc5200.c
parentcf48eb9abd76e5a056937a4e49be094826026abc (diff)
downloadu-boot-imx-8419c013048b1f15f3fa2fc7c0463d860a04ee3e.zip
u-boot-imx-8419c013048b1f15f3fa2fc7c0463d860a04ee3e.tar.gz
u-boot-imx-8419c013048b1f15f3fa2fc7c0463d860a04ee3e.tar.bz2
MPC5200: enable snooping of DMA transactions on XLB even if no PCI
is configured; othrwise DMA accesses aren't cache coherent which causes for example USB to fail.
Diffstat (limited to 'cpu/mpc5xxx/pci_mpc5200.c')
-rw-r--r--cpu/mpc5xxx/pci_mpc5200.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpu/mpc5xxx/pci_mpc5200.c b/cpu/mpc5xxx/pci_mpc5200.c
index 1d90345..2f01d5c 100644
--- a/cpu/mpc5xxx/pci_mpc5200.c
+++ b/cpu/mpc5xxx/pci_mpc5200.c
@@ -135,10 +135,6 @@ void pci_mpc5xxx_init (struct pci_controller *hose)
*(vu_long *)MPC5XXX_PCI_BAR1 = CONFIG_PCI_MEMORY_BUS | (1 << 3);
*(vu_long *)MPC5XXX_PCI_TBATR1 = CONFIG_PCI_MEMORY_PHYS | 1;
- /* Enable snooping for RAM */
- *(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (1 << 15);
- *(vu_long *)(MPC5XXX_XLBARB + 0x70) = CONFIG_PCI_MEMORY_PHYS | 0x1d;
-
/* Park XLB on PCI */
*(vu_long *)(MPC5XXX_XLBARB + 0x40) &= ~((7 << 8) | (3 << 5));
*(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (3 << 8) | (3 << 5);