uboot-mt623x/cpu
Peter Korsgaard 3b887ca8ce mpc83xx: boot time regression, move LCRR setup back to cpu_init_f
Commit c7190f02 (retain POR values of non-configured ACR, SPCR, SCCR,
and LCRR bitfields) moved the LCRR assignment to after relocation
to RAM because of the potential problem with changing the local bus
clock while executing from flash.

This change unfortunately adversely affects the boot time, as running
all code up to cpu_init_r can cause significant slowdown.

E.G. on a 8347 board a bootup time increase of ~600ms has been observed:

   0.020 CPU:   e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz
   0.168 RS:    232
   0.172 I2C:   ready
   0.176 DRAM:  64 MB
   1.236 FLASH: 32 MB

Versus:

   0.016 CPU:   e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz
   0.092 RS:    232
   0.092 I2C:   ready
   0.096 DRAM:  64 MB
   0.644 FLASH: 32 MB

So far no boards have needed the late LCRR setup, so simply revert it
for now - If it is needed at a later time, those boards can either do
their own final LCRR setup in board code (E.G. in board_early_init_r),
or we can introduce a CONFIG_SYS_LCRR_LATE config option to only do
the setup in cpu_init_r.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2009-12-09 11:40:52 -06:00
..
74xx_7xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
arm720t arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm920t trab: fix warning: implicit declaration of function 'disable_vfd' 2009-12-07 21:50:18 +01:00
arm925t arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm926ejs Coding Style cleanup; update CHANGELOG, prepare -rc1 2009-10-28 00:49:47 +01:00
arm946es arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm1136 arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm1176 arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm_cortexa8 help: Correct syntax of nandecc help output. 2009-12-07 22:06:51 +01:00
arm_intcm arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
at32ap Add AVR32 LCD support 2009-07-26 13:12:02 +02:00
blackfin Blackfin: reset watchdog in udelay() 2009-10-13 21:48:52 -04:00
i386 i386: Replace [read, write]_mmcr_[byte, word, long] with memory mapped structure 2009-09-04 21:56:45 +02:00
ixp arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
leon2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
leon3 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
lh7a40x arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
mcf52x2 ColdFire: Add M5208EVB and MCF520x CPU support 2009-07-14 09:27:17 -05:00
mcf523x ColdFire: PLATFORM_CPPFLAGS updates for new compiler 2009-03-17 15:58:37 -06:00
mcf532x ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
mcf547x_8x ColdFire: PLATFORM_CPPFLAGS updates for new compiler 2009-03-17 15:58:37 -06:00
mcf5227x ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
mcf5445x Minor coding style cleanup. 2009-08-10 10:38:34 +02:00
microblaze microblaze: Use cache functions (especially cache status) 2009-01-23 10:40:00 +01:00
mips MIPS: Implement ethernet halt for au1x00 2009-05-16 09:20:03 +09:00
mpc5xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc5xxx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8xxx fsl-ddr: Fix the chip-select interleaving issue 2009-11-12 08:09:49 -06:00
mpc83xx mpc83xx: boot time regression, move LCRR setup back to cpu_init_f 2009-12-09 11:40:52 -06:00
mpc85xx ppc/85xx: Fix how we determine the number of CAM entries 2009-11-13 09:11:01 -06:00
mpc86xx relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc512x Merge branch 'reloc' 2009-10-09 00:03:18 +02:00
mpc824x relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8220 relocation: Do not relocate NULL pointers. 2009-10-08 09:33:36 +02:00
mpc8260 mpc8260: move FDT memory node fixup into common CPU code. 2009-11-22 23:16:28 +01:00
nios General help message cleanup 2009-06-12 20:47:16 +02:00
nios2 General help message cleanup 2009-06-12 20:47:16 +02:00
ppc4xx ppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES) 2009-11-09 13:31:38 +01:00
pxa arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
s3c44b0 arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
sa1100 arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
sh2 sh: unify linker script 2009-07-08 11:43:15 +09:00
sh3 sh: unify linker script 2009-07-08 11:43:15 +09:00
sh4 sh: unify linker script 2009-07-08 11:43:15 +09:00