diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-04-18 11:05:03 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-04-18 11:05:03 +0200 |
commit | 8419c013048b1f15f3fa2fc7c0463d860a04ee3e (patch) | |
tree | 216f34989d4edfc76963ef09a4e3038ceac1018a /cpu/mpc5xxx/cpu_init.c | |
parent | cf48eb9abd76e5a056937a4e49be094826026abc (diff) | |
download | u-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/cpu_init.c')
-rw-r--r-- | cpu/mpc5xxx/cpu_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/mpc5xxx/cpu_init.c b/cpu/mpc5xxx/cpu_init.c index 4a370ff..b7e00b3 100644 --- a/cpu/mpc5xxx/cpu_init.c +++ b/cpu/mpc5xxx/cpu_init.c @@ -152,6 +152,10 @@ void cpu_init_f (void) /* enable timebase */ *(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (1 << 13); + /* Enable snooping for RAM */ + *(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (1 << 15); + *(vu_long *)(MPC5XXX_XLBARB + 0x70) = CFG_SDRAM_BASE | 0x1d; + # if defined(CFG_IPBSPEED_133) /* Motorola reports IPB should better run at 133 MHz. */ *(vu_long *)MPC5XXX_ADDECR |= 1; |