MLK-16069 imx6slevk: Workaround to limit the u-boot in low 512MB memory
authorYe Li <ye.li@nxp.com>
Mon, 24 Jul 2017 06:12:33 +0000 (01:12 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:04 +0000 (02:37 +0800)
commitbb8efe57ca5376751f4223e4d07931f2d314c360
tree9a6a973345e91903025cec6e4da0078bb35a1714
parentf28522e6c18ee20d8847ab70a2c17ff4e4261223
MLK-16069 imx6slevk: Workaround to limit the u-boot in low 512MB memory

On i.MX6SLEVK board, the LPDDR2 chip(CS1) is not reset before accessing.
And due to MMDC limitation, the script we get from IC team is only doing
CS0 reset but skipping CS1 reset, the reason is that doing CS1 reset might
cause CS0 can NOT be accessed any longer.

Because of this HW issue, we found the high 512MB memory needs more time to
be stable. Since the u-boot relocates itself to highest address after booting,
so this will cause issue.
To work around it, we just limit the u-boot running at low 512MB memory.

Signed-off-by: Ye Li <ye.li@nxp.com>
board/freescale/mx6slevk/mx6slevk.c