ARM: AM43xx: Write sdram_config to secure_emif_sdram_config
authorDave Gerlach <d-gerlach@ti.com>
Tue, 18 Feb 2014 12:32:00 +0000 (07:32 -0500)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:42:07 +0000 (09:42 -0500)
commitf84880f0f31e2d293b987d37446dc8a2e34aa925
treeaf548e9fabaf2277e11786683dc02257f2602d16
parent4800be4a0c0058fd1670576ec0872980f3ed78f5
ARM: AM43xx: Write sdram_config to secure_emif_sdram_config

The register secure_emif_sdram_config in control module is copied to
the EMIF sdram_config register when it is coming out of DeepSleep0 in
order to ensure that the EMIF comes up for the correct type of DDR.
Without this, resume can hang from within the kernel.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/cpu/armv7/am33xx/ddr.c