projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86dde15
)
[MIPS] Simple patch to power off DBAU1200
author
Matej Kupljen
<matej.kupljen@ultra.si>
Wed, 30 Nov 2005 09:20:01 +0000
(10:20 +0100)
committer
Ralf 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/au1000/common/reset.c
b/arch/mips/au1000/common/reset.c
index 96a211400f34246be965732007c1c343c25d5969..c93af224c1b389f1296c12951caf9ef5b0686992 100644
(file)
--- 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();