OSDN Git Service

ARM: at91: pm: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 1 Feb 2017 21:10:34 +0000 (22:10 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 31 Mar 2017 18:36:07 +0000 (20:36 +0200)
commit56387634b7604c141b8645d2377980164e18da0d
tree054a5bdf2303b8714b130081e6b7a3d14cb38034
parent5a2d4f053f67d03d212c2d036166934f4958173d
ARM: at91: pm: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

As already explained for pm_suspend.S, the DDRSDR controller fails to put
LPDDR1 memories in self-refresh. Force the controller to think it has DDR2
memories during the self-refresh period, as the DDR2 self-refresh spec is
equivalent to LPDDR1, and is correctly implemented in the controller.

Acked-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/mach-at91/pm.c