public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] PXA: FIX: Deep-sleep return address in stored in PSPR
@ 2011-09-07 13:25 Marek Vasut
  2011-09-07 13:26 ` Marek Vasut
  2011-09-07 21:51 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Marek Vasut @ 2011-09-07 13:25 UTC (permalink / raw)
  To: u-boot

FIX for a typo-bug: The address is stored in PSPR, not PSSR.

Signed-off-by: Marek Vasut <marek.vasut@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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-07 21:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 13:25 [U-Boot] [PATCH] PXA: FIX: Deep-sleep return address in stored in PSPR Marek Vasut
2011-09-07 13:26 ` Marek Vasut
2011-09-07 14:23   ` Albert ARIBAUD
2011-09-07 14:28     ` Marek Vasut
2011-09-07 21:51 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox