PXA: FIX: Deep-sleep return address in stored in PSPR
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 7 Sep 2011 03:25:45 +0000 (03:25 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 7 Sep 2011 21:51:37 +0000 (23:51 +0200)
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

index 9970a4b45bb7f516cff1b55cdee47652aef9eb83..df351c7fbcfb3518fd6c311280031fd130ea1316 100644 (file)
@@ -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)));
        }
 }