u-boot/arch/arm/cpu/arm926ejs
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
..
armada100 bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
at91 ATMEL: remove old atmel_mci driver 2012-03-13 12:06:42 +01:00
davinci dm6467Tevm: Use a common configuration file for davinci_dm6467evm and davinci_dm6467Tevm 2012-02-27 21:19:24 +01:00
kirkwood Stop using builtin_run_command() 2012-03-06 21:09:26 +01:00
lpc32xx arm926ejs: add NXP LPC32x0 cpu series support 2012-05-15 08:31:21 +02:00
mb86r0x Fix Stelian's email address 2011-11-29 15:43:38 +01:00
mx25 i.MX25: esdhc: Add mxc_get_clock infrastructure 2012-05-15 08:31:33 +02:00
mx27 MX27: add missing get_tbclk() 2012-02-27 21:19:23 +01:00
mx28 i.MX28: Add delay after CPU bypass is cleared 2012-05-15 08:31:35 +02:00
nomadik nhk8815: fix build errors 2012-03-28 23:53:22 +02:00
omap arch/arm/cpu/arm926ejs/omap/cpuinfo.c: Fix GCC 4.6 warnings 2011-11-23 08:14:27 +01:00
orion5x bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
pantheon bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
spear punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
versatile Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
cache.c ARM926EJS: Fix cache.c to comply with checkpatch.pl 2012-04-16 22:12:01 +02:00
config.mk imx: Add u-boot.imx as target for ARM9 i.MX SOCs 2012-05-15 08:31:34 +02:00
cpu.c arm, arm-kirkwood: disable l2c before linux boot 2012-02-12 10:11:28 +01:00
Makefile arm926ejs: add noop implementation for dcache ops 2011-12-06 23:59:35 +01:00
start.S arm, arm926ejs: Enable icache only if CONFIG_SYS_ICACHE_OFF is not defined 2012-02-12 10:11:33 +01:00