summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/lubbock
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2015-12-05 23:37:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-12-07 10:48:11 +0100
commita964acd62510908b7bf9149c83a28490819938d6 (patch)
treec7f594d29a676340baa01269d816918daaa55d07 /arch/arm/boards/lubbock
parentaa62e926f5590927197c3dd6cd9f69699f56ba5c (diff)
downloadbarebox-a964acd62510908b7bf9149c83a28490819938d6.tar.gz
barebox-a964acd62510908b7bf9149c83a28490819938d6.tar.xz
ARM: pxa: pxa2xx use PSPR for resume address
Both lubbock and mainstone suspend to RAM were broken by the same typo. The linux kernel saves the resume address to PSPR, ie. the scratch pad register, while it was PSSR which was checked in barebox. Fixing this typo was tested on mainstone where resume from S3 works. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/lubbock')
-rw-r--r--arch/arm/boards/lubbock/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/lubbock/lowlevel.c b/arch/arm/boards/lubbock/lowlevel.c
index 3c8ae76e03..1c52b3e36b 100644
--- a/arch/arm/boards/lubbock/lowlevel.c
+++ b/arch/arm/boards/lubbock/lowlevel.c
@@ -171,7 +171,7 @@ static inline void pxa2xx_dram_init(void)
void __bare_init __naked barebox_arm_reset_vector(void)
{
- unsigned long pssr = PSSR;
+ unsigned long pssr = PSPR;
unsigned long pc = get_pc();
arm_cpu_lowlevel_init();