Skip to content

Commit

Permalink
[MIPS] Simple patch to power off DBAU1200
Browse files Browse the repository at this point in the history
    
Signed-off-by: Matej Kupljen <matej.kupljen@ultra.si>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Matej Kupljen authored and Ralf Baechle committed Mar 18, 2006
1 parent 86dde15 commit 66a9a4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/au1000/common/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ void au1000_halt(void)
#ifdef CONFIG_MIPS_MIRAGE
au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
#endif
#ifdef CONFIG_MIPS_DB1200
au_writew(au_readw(0xB980001C) | (1<<14), 0xB980001C);
#endif
#ifdef CONFIG_PM
au_sleep();

Expand Down

0 comments on commit 66a9a4f

Please sign in to comment.