]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: DRA7/OMAP5: EMIF: Add workaround for bug 0039
authorSRICHARAN R <r.sricharan@ti.com>
Fri, 8 Nov 2013 12:10:38 +0000 (17:40 +0530)
committerTom Rini <trini@ti.com>
Wed, 4 Dec 2013 13:12:08 +0000 (08:12 -0500)
commit54d022e76c42d824315e28ea06c89c2452f98861
tree7fd2255daf8be37b1a535c75358953fc7f4647a5
parent6c70935d7525a4b2b144b49457d2bae85f1d111a
ARM: DRA7/OMAP5: EMIF: Add workaround for bug 0039

When core power domain hits oswr, then DDR3 memories does not come back
while resuming. This is because when EMIF registers are lost, then the
controller takes care of copying the values from the shadow registers.
If the shadow registers are not updated with the right values, then this
results in incorrect settings while resuming. So updating the shadow registers
with the corresponding status registers here during the boot.

Signed-off-by: Sricharan R <r.sricharan@ti.com>
arch/arm/cpu/armv7/omap-common/emif-common.c
arch/arm/cpu/armv7/omap4/sdram_elpida.c
arch/arm/cpu/armv7/omap5/sdram.c
arch/arm/include/asm/emif.h