[MIPS] Simple patch to power off DBAU1200

Signed-off-by: Matej Kupljen <matej.kupljen@ultra.si>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Matej Kupljen 2005-11-30 10:20:01 +01:00 committed by Ralf Baechle
parent 86dde15b3d
commit 66a9a4ffda
1 changed files with 3 additions and 0 deletions

View File

@ -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();