]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/mips/alchemy/common/power.c
MIPS: Alchemy: add sysdev for DBDMA PM.
[net-next-2.6.git] / arch / mips / alchemy / common / power.c
index 11e5ec7484147cf07e26c88764c6960af8d5738e..14eb8c492da22f3f144e1944418b875b8a386eb3 100644 (file)
@@ -36,9 +36,6 @@
 
 #include <asm/uaccess.h>
 #include <asm/mach-au1x00/au1000.h>
-#if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200)
-#include <asm/mach-au1x00/au1xxx_dbdma.h>
-#endif
 
 #ifdef CONFIG_PM
 
@@ -129,10 +126,6 @@ static void save_core_regs(void)
        sleep_static_memctlr[3][0] = au_readl(MEM_STCFG3);
        sleep_static_memctlr[3][1] = au_readl(MEM_STTIME3);
        sleep_static_memctlr[3][2] = au_readl(MEM_STADDR3);
-
-#if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200)
-       au1xxx_dbdma_suspend();
-#endif
 }
 
 static void restore_core_regs(void)
@@ -196,10 +189,6 @@ static void restore_core_regs(void)
                au_writel(sleep_uart0_linectl, UART0_ADDR + UART_LCR); au_sync();
                au_writel(sleep_uart0_clkdiv, UART0_ADDR + UART_CLK); au_sync();
        }
-
-#if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200)
-       au1xxx_dbdma_resume();
-#endif
 }
 
 void au_sleep(void)