Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94960
b: refs/heads/master
c: d393061
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Baryshkov authored and Russell King committed Apr 24, 2008
1 parent 137abaa commit 6ec7fe0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 406b1ea441cb86671c5b57d2ce722d217914d524
refs/heads/master: d3930614e68bdf83a120d904c039a64e9f75dba1
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-pxa/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ int pxa_pm_enter(suspend_state_t state)
sleep_save_checksum += sleep_save[i];
}

/* Clear sleep reset status */
RCSR = RCSR_SMR;
/* Clear reset status */
RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR;

/* *** go zzz *** */
pxa_cpu_pm_fns->enter(state);
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-arm/arch-pxa/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ static inline void arch_idle(void)

static inline void arch_reset(char mode)
{
RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR;

if (mode == 's') {
/* Jump into ROM at address 0 */
cpu_reset(0);
Expand Down

0 comments on commit 6ec7fe0

Please sign in to comment.