summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/Makefile
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-21 19:00:07 +0300
committerJason Cooper <jason@lakedaemon.net>2014-11-30 19:40:13 +0300
commit8da2b2f7ceeed931af0fc1d4fca800650bb41826 (patch)
treede3b9aa7e621117cd1c52f5b406cd2fe8167cfc5 /arch/arm/mach-mvebu/Makefile
parent8446be5d030c0d986cf90e0b395764f2c6ca443d (diff)
downloadlinux-8da2b2f7ceeed931af0fc1d4fca800650bb41826.tar.xz
ARM: mvebu: reserve the first 10 KB of each memory bank for suspend/resume
When going out of suspend to RAM, the Marvell EBU platforms go through the bootloader, which re-configures the DRAM controller. To achieve this, the bootloader executes a piece of code called the "DDR3 training code". It does some reads/writes to the memory to find out the optimal timings for the memory chip being used. This has the nasty side effect that the first 10 KB of each DRAM chip-select are overwritten by the bootloader when exiting the suspend to RAM state. Therefore, this commit implements the ->reserve() hook for the 'struct machine_desc' used on Armada XP, to reserve the 10 KB of each DRAM chip-select using the memblock API. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Link: https://lkml.kernel.org/r/1416585613-2113-11-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/Makefile')
0 files changed, 0 insertions, 0 deletions