summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx/cpu_init.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-10 23:27:33 +0000
committerwdenk <wdenk>2004-10-10 23:27:33 +0000
commite1599e83d643c1667a4157d03609c6e29928fb2e (patch)
tree5de7676c2c02bdddb3f01251d14bfdd43454cde0 /cpu/mpc5xxx/cpu_init.c
parentc15f3120eca5359ed7ec1a359085312bbafca169 (diff)
downloadu-boot-imx-e1599e83d643c1667a4157d03609c6e29928fb2e.zip
u-boot-imx-e1599e83d643c1667a4157d03609c6e29928fb2e.tar.gz
u-boot-imx-e1599e83d643c1667a4157d03609c6e29928fb2e.tar.bz2
* Patch by Gridish Shlomi, 30 Aug 2004:
- Add support to revA version of PQ27 and PQ27E. - Reverted MPC8260ADS baudrate back to original 115200 * Patch by Hojin, 17 Sep 2004: Fix typo in cfi_flash.c * Patch by Mark Jonas, 09 September 2004: mtest's data line test (with CFG_ALT_MEMTEST set) returned a wrong error message * Patch by Mark Jonas, 31 August 2004: Added option CFG_XLB_PIPELINING to enable XLB pipelining. This improves FTP performance for MPC5200 systems. Enabled for IceCube by default.
Diffstat (limited to 'cpu/mpc5xxx/cpu_init.c')
-rw-r--r--cpu/mpc5xxx/cpu_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpu/mpc5xxx/cpu_init.c b/cpu/mpc5xxx/cpu_init.c
index 3599a86..3df0050 100644
--- a/cpu/mpc5xxx/cpu_init.c
+++ b/cpu/mpc5xxx/cpu_init.c
@@ -170,6 +170,11 @@ void cpu_init_f (void)
/* Configure the XLB Arbiter */
*(vu_long *)MPC5XXX_XLBARB_MPRIEN = 0xff;
*(vu_long *)MPC5XXX_XLBARB_MPRIVAL = 0x11111111;
+
+# if defined(CFG_XLB_PIPELINING)
+ /* Enable piplining */
+ *(vu_long *)(MPC5XXX_XLBARB + 0x40) &= ~(1 << 31);
+# endif
#endif /* CONFIG_MPC5200 */
}