]> git.dujemihanovic.xyz Git - 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)
committerStefano Babic <sbabic@denx.de>
Wed, 20 Mar 2013 10:05:32 +0000 (11:05 +0100)
commitb33426caf6dbc5ad1793320928542bfa9be6be9c
tree51adec8e7791d4664f139019fa37be7022dca9a3
parentb27673ccbd3d5435319b5c09c3e7061f559f925d
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