]> git.sur5r.net Git - u-boot/commit
warp: Fix RAM size runtime detection
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 15 Aug 2016 13:07:12 +0000 (10:07 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Sep 2016 16:22:48 +0000 (18:22 +0200)
commit693779e3713701e5b06afc4540faeaef1841f254
treee71e6951a1f06bfabc088e4a95b520077792eb2b
parent7d301a594d24e4ed63b3099cdb9e09249f945def
warp: Fix RAM size runtime detection

Since commit a13d3757f7df ("warp: Use imx_ddr_size() for calculating the
DDR size") warp board no longer boots.

The reason for the breakage is that the warp board is using the DDR
configuration from mx6slevk. A fundamental difference between warp and
mx6slevk is that warp only uses one DDR chip select while mx6slevk uses two.

The imx_ddr() function calculates the RAM size in runtime by reading the
values of registers MDCTL and MDMISC.

So in order to fix this warp boot issue, create a imximage DDR file specific
to warp, where the MDCTL register is configured to only activates a single
chip select.

Reported-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Breno Lima <breno.lima@nxp.com>
board/warp/imximage.cfg [new file with mode: 0644]
configs/warp_defconfig