Browse Source

PXA: FIX: Deep-sleep return address in stored in PSPR

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

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Marek Vasut 13 years ago
parent
commit
b793bb92a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/cpu/pxa/cpu.c

+ 1 - 1
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)));
 	}
 }