diff options
| -rw-r--r-- | arch/arm/mach-pxa/pm.c | 4 | ||||
| -rw-r--r-- | include/asm-arm/arch-pxa/system.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pm.c b/arch/arm/mach-pxa/pm.c index 039194cbe477..ec1bbf333a3a 100644 --- a/arch/arm/mach-pxa/pm.c +++ b/arch/arm/mach-pxa/pm.c | |||
| @@ -46,8 +46,8 @@ int pxa_pm_enter(suspend_state_t state) | |||
| 46 | sleep_save_checksum += sleep_save[i]; | 46 | sleep_save_checksum += sleep_save[i]; |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | /* Clear sleep reset status */ | 49 | /* Clear reset status */ |
| 50 | RCSR = RCSR_SMR; | 50 | RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR; |
| 51 | 51 | ||
| 52 | /* *** go zzz *** */ | 52 | /* *** go zzz *** */ |
| 53 | pxa_cpu_pm_fns->enter(state); | 53 | pxa_cpu_pm_fns->enter(state); |
diff --git a/include/asm-arm/arch-pxa/system.h b/include/asm-arm/arch-pxa/system.h index 1d56a3ef89fd..a758a719180f 100644 --- a/include/asm-arm/arch-pxa/system.h +++ b/include/asm-arm/arch-pxa/system.h | |||
| @@ -22,6 +22,8 @@ static inline void arch_idle(void) | |||
| 22 | 22 | ||
| 23 | static inline void arch_reset(char mode) | 23 | static inline void arch_reset(char mode) |
| 24 | { | 24 | { |
| 25 | RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR; | ||
| 26 | |||
| 25 | if (mode == 's') { | 27 | if (mode == 's') { |
| 26 | /* Jump into ROM at address 0 */ | 28 | /* Jump into ROM at address 0 */ |
| 27 | cpu_reset(0); | 29 | cpu_reset(0); |
