[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

View File

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