[U-Boot] [PATCH] PXA: FIX: Deep-sleep return address in stored in PSPR
Marek Vasut
marek.vasut at gmail.com
Wed Sep 7 15:25:45 CEST 2011
FIX for a typo-bug: The address is stored in PSPR, not PSSR.
Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
arch/arm/cpu/pxa/cpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/cpu/pxa/cpu.c b/arch/arm/cpu/pxa/cpu.c
index 7d49cbb..3bc0525 100644
--- a/arch/arm/cpu/pxa/cpu.c
+++ b/arch/arm/cpu/pxa/cpu.c
@@ -305,7 +305,7 @@ void pxa_wakeup(void)
pxa_dram_init();
icache_disable();
dcache_disable();
- asm volatile("mov pc, %0"::"r"(readl(PSSR)));
+ asm volatile("mov pc, %0"::"r"(readl(PSPR)));
}
}
--
1.7.5.4
More information about the U-Boot
mailing list