summaryrefslogtreecommitdiffstats
path: root/board/openrisc
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-05-04 01:32:50 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:35 +0200
commit8f975865be2bb2d5eb2bdb9fc5ab09aae67ad8e1 (patch)
treea9b293f803fe6d418d778d0e238fe7991db28e98 /board/openrisc
parent148ca64f327a89ef77e84756f5d351af33e59b64 (diff)
downloadtalos-obmc-uboot-8f975865be2bb2d5eb2bdb9fc5ab09aae67ad8e1.tar.gz
talos-obmc-uboot-8f975865be2bb2d5eb2bdb9fc5ab09aae67ad8e1.zip
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>
Diffstat (limited to 'board/openrisc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud