]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Simple patch to power off DBAU1200
authorMatej Kupljen <matej.kupljen@ultra.si>
Wed, 30 Nov 2005 09:20:01 +0000 (10:20 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 18 Mar 2006 16:59:28 +0000 (16:59 +0000)
Signed-off-by: Matej Kupljen <matej.kupljen@ultra.si>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/reset.c

index 96a211400f34246be965732007c1c343c25d5969..c93af224c1b389f1296c12951caf9ef5b0686992 100644 (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();