diff options
Diffstat (limited to 'arch/mips/alchemy/common/power.c')
| -rw-r--r-- | arch/mips/alchemy/common/power.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/alchemy/common/power.c b/arch/mips/alchemy/common/power.c index 11e5ec748414..14eb8c492da2 100644 --- a/arch/mips/alchemy/common/power.c +++ b/arch/mips/alchemy/common/power.c | |||
| @@ -36,9 +36,6 @@ | |||
| 36 | 36 | ||
| 37 | #include <asm/uaccess.h> | 37 | #include <asm/uaccess.h> |
| 38 | #include <asm/mach-au1x00/au1000.h> | 38 | #include <asm/mach-au1x00/au1000.h> |
| 39 | #if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200) | ||
| 40 | #include <asm/mach-au1x00/au1xxx_dbdma.h> | ||
| 41 | #endif | ||
| 42 | 39 | ||
| 43 | #ifdef CONFIG_PM | 40 | #ifdef CONFIG_PM |
| 44 | 41 | ||
| @@ -129,10 +126,6 @@ static void save_core_regs(void) | |||
| 129 | sleep_static_memctlr[3][0] = au_readl(MEM_STCFG3); | 126 | sleep_static_memctlr[3][0] = au_readl(MEM_STCFG3); |
| 130 | sleep_static_memctlr[3][1] = au_readl(MEM_STTIME3); | 127 | sleep_static_memctlr[3][1] = au_readl(MEM_STTIME3); |
| 131 | sleep_static_memctlr[3][2] = au_readl(MEM_STADDR3); | 128 | sleep_static_memctlr[3][2] = au_readl(MEM_STADDR3); |
| 132 | |||
| 133 | #if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200) | ||
| 134 | au1xxx_dbdma_suspend(); | ||
| 135 | #endif | ||
| 136 | } | 129 | } |
| 137 | 130 | ||
| 138 | static void restore_core_regs(void) | 131 | static void restore_core_regs(void) |
| @@ -196,10 +189,6 @@ static void restore_core_regs(void) | |||
| 196 | au_writel(sleep_uart0_linectl, UART0_ADDR + UART_LCR); au_sync(); | 189 | au_writel(sleep_uart0_linectl, UART0_ADDR + UART_LCR); au_sync(); |
| 197 | au_writel(sleep_uart0_clkdiv, UART0_ADDR + UART_CLK); au_sync(); | 190 | au_writel(sleep_uart0_clkdiv, UART0_ADDR + UART_CLK); au_sync(); |
| 198 | } | 191 | } |
| 199 | |||
| 200 | #if defined(CONFIG_SOC_AU1550) || defined(CONFIG_SOC_AU1200) | ||
| 201 | au1xxx_dbdma_resume(); | ||
| 202 | #endif | ||
| 203 | } | 192 | } |
| 204 | 193 | ||
| 205 | void au_sleep(void) | 194 | void au_sleep(void) |
