]> code.ossystems Code Review - bsp/u-boot.git/commit
mxs: spl_mem_init: Align DDR2 init with FSL bootlets source
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 28 Feb 2013 12:59:19 +0000 (12:59 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Apr 2013 14:14:38 +0000 (11:14 -0300)
commitd8b0c363322898d9f14c198a68bb58d99ce972f7
tree92c90415102a95d28fed739fc64db2151a034e6e
parentf140b5863b258120f5412ea86733f70c87837ee9
mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

Currently the following kernel hang happens when loading a 2.6.35 kernel from
Freeescale on a mx28evk board:

RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Bus freq driver module loaded
IMX usb wakeup probe
usb h1 wakeup device is registered
mxs_cpu_init: cpufreq init finished
...

Loading the same kernel using the bootlets from the imx-bootlets-src-10.12.01
package, the hang does not occur.

Comparing the DDR2 initialization from the bootlets code against the U-boot
one, we can notice some mismatches, and after applying the same initialization
into U-boot the 2.6.35 kernel can boot normally.

Also tested with 'mtest' command, which runs succesfully.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c