Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21099
b: refs/heads/master
c: 86dde15
h: refs/heads/master
i:
  21097: b922c89
  21095: dbd6d01
v: v3
  • Loading branch information
Sergei Shtylylov authored and Ralf Baechle committed Mar 18, 2006
1 parent 15428a2 commit 59b2a90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: de62893bc0725f8b5f0445250577cd7a10b2d8f8
refs/heads/master: 86dde15b3dc36dda4bbc32a8da607675ce63ef23
7 changes: 4 additions & 3 deletions trunk/arch/mips/au1000/common/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ void au1000_restart(char *command)

void au1000_halt(void)
{
#if defined(CONFIG_MIPS_PB1550)
#if defined(CONFIG_MIPS_PB1550) || defined(CONFIG_MIPS_DB1550)
/* power off system */
printk("\n** Powering off Pb1550\n");
printk("\n** Powering off...\n");
au_writew(au_readw(0xAF00001C) | (3<<14), 0xAF00001C);
au_sync();
while(1); /* should not get here */
#endif
#else
printk(KERN_NOTICE "\n** You can safely turn off the power\n");
#ifdef CONFIG_MIPS_MIRAGE
au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
Expand All @@ -187,6 +187,7 @@ void au1000_halt(void)
"wait\n\t"
".set\tmips0");
#endif
#endif /* defined(CONFIG_MIPS_PB1550) || defined(CONFIG_MIPS_DB1550) */
}

void au1000_power_off(void)
Expand Down

0 comments on commit 59b2a90

Please sign in to comment.