]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.
authorPeter Rosin <peda@axentia.se>
Thu, 5 Feb 2015 06:02:09 +0000 (14:02 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 3 Mar 2015 18:43:59 +0000 (19:43 +0100)
commit02f513a0970d97e4fc5f262f5a6c814014af524e
tree1608f7b1eaf9cd1e42df3f021031742bdbf68fcc
parentad4a38d2187720a3d1442d693c99675ccd955f32
pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

The DDRSDR controller fails miserably 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.

Assume that the second controller has the same fault, but that is
untested.

Signed-off-by: Peter Rosin <peda@axentia.se>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/pm_slowclock.S
include/soc/at91/at91sam9_ddrsdr.h