forked from luck/tmp_suning_uos_patched
[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:
parent
86dde15b3d
commit
66a9a4ffda
|
@ -175,6 +175,9 @@ void au1000_halt(void)
|
||||||
#ifdef CONFIG_MIPS_MIRAGE
|
#ifdef CONFIG_MIPS_MIRAGE
|
||||||
au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
|
au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_MIPS_DB1200
|
||||||
|
au_writew(au_readw(0xB980001C) | (1<<14), 0xB980001C);
|
||||||
|
#endif
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
au_sleep();
|
au_sleep();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user