summaryrefslogtreecommitdiff
path: root/lib/hang.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-03-05 17:32:29 +0530
committerTom Rini <trini@konsulko.com>2016-03-14 19:18:46 -0400
commit4571c519b4581cffc49f40d4066c328df4d6cdf0 (patch)
treef4ed344a8b6fbe9d0b0617246bd2eab4d1a739da /lib/hang.c
parentde095474788d6731f71bf4ce2187d047e0e8ee9b (diff)
downloadu-boot-imx-4571c519b4581cffc49f40d4066c328df4d6cdf0.zip
u-boot-imx-4571c519b4581cffc49f40d4066c328df4d6cdf0.tar.gz
u-boot-imx-4571c519b4581cffc49f40d4066c328df4d6cdf0.tar.bz2
ARM: DRA7: emif: Fix DDR init sequence during warm reset
Commit (20fae0a - ARM: DRA7: DDR: Enable SR in Power Management Control) enables Self refresh mode by default and during warm reset the EMIF contents are preserved. After warm reset EMIF sees that it is idle and puts DDR in self-refresh. When in SR, leveling operations cannot be done as DDR can only accept SR exit command, so its hanging during warm reset. In order to fix this reset the power management control register before EMIF initialization if it is a warm reset. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/hang.c')
0 files changed, 0 insertions, 0 deletions