u-boot/arch/arm/cpu
Marek Vasut 8f975865be i.MX28: Add delay after CPU bypass is cleared
This solves issues when larger amount of DRAM is used, like 256MB.
Behave the same in case of CPU bypass as we do in case of EMI
bypass, but wait 15 ms. We need to wait until the clock domain
stabilizes.

This issue seemed to have been caused by not waiting after frobbing
with the CPU bypass, it was unrelated to memory, but had a direct
impact, causing trouble. This was yet another X-File of the
imx-bootlets, sigh. The conclusion is, trying a semi-random delay
(there is delay after the EMI bypass change), the issue is fixed.

Another possible explanation is that we do not do the "simple memory
test" FSL does in their imx-bootlets (1000 R/W cycles to/from piece of
the memory, while also outputing something on the serial port). This
might have caused the similar delay in the imx-bootlets and therefore
they didn't need to add this explicitly.

For now, this seems good fix enough, but to me, whole that memory
init code in imx-bootlets is completely flunked and it'd need deeper
investigation.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Acked-by: Detlev Zundel <dzu@denx.de>
2012-05-15 08:31:35 +02:00
..
arm720t arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
arm920t arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
arm925t arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
arm926ejs i.MX28: Add delay after CPU bypass is cleared 2012-05-15 08:31:35 +02:00
arm946es arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
arm1136 ARM1136: MX35: Make asm routines volatile in cache ops 2012-04-16 14:53:59 +02:00
arm1176 arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
arm_intcm arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
armv7 i.MX6: add enable_sata_clock() 2012-05-15 08:31:33 +02:00
ixp IXP: Squash warnings in IXP NPE 2012-03-26 23:09:26 +02:00
lh7a40x arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
pxa arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
s3c44b0 arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
sa1100 arm: Use common .lds file where possible 2012-03-30 07:43:47 +02:00
u-boot.lds arm: add a common .lds link script 2012-03-30 07:43:44 +02:00