]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: OMAP2+: sleep43xx: Run EMIF HW leveling on resume path
authorDave Gerlach <d-gerlach@ti.com>
Tue, 2 Apr 2019 16:57:43 +0000 (11:57 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 9 Apr 2019 15:32:12 +0000 (08:32 -0700)
commit11140cc40ddc3e7a2f2e3352e8a0587a93ba75df
tree61157e7e2702f39ae8fe6e2e29024b5d27d17336
parent6c110561eb2d4d1496961c13a92f96f29eea7c72
ARM: OMAP2+: sleep43xx: Run EMIF HW leveling on resume path

When returning from DeepSleep mode on AM437x platforms the EMIF must run
DDR hardware leveling, same as done during u-boot, to properly restore the
EMIF PHY to it's operational state on platforms using DDR3.

Call the ti-emif-sram-pm run_hw_leveling routine to perform this. This
happens after all other EMIF values are restored so the exact same
configuration used at boot is used at the end of EMIF resume as well.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sleep43xx.S