summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorMatej Kupljen <matej.kupljen@ultra.si>2005-11-30 10:20:01 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-03-18 16:59:28 +0000
commit66a9a4ffda3474b193f36ed579cee06c597952f3 (patch)
tree5a3a21cd5e1e7003462693de38cc2715765fa102 /arch/mips
parent86dde15b3dc36dda4bbc32a8da607675ce63ef23 (diff)
downloadop-kernel-dev-66a9a4ffda3474b193f36ed579cee06c597952f3.zip
op-kernel-dev-66a9a4ffda3474b193f36ed579cee06c597952f3.tar.gz
[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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/au1000/common/reset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/au1000/common/reset.c b/arch/mips/au1000/common/reset.c
index 96a2114..c93af22 100644
--- a/arch/mips/au1000/common/reset.c
+++ b/arch/mips/au1000/common/reset.c
@@ -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();
OpenPOWER on IntegriCloud