diff options
Diffstat (limited to 'arch/arm/mach-omap2/sleep.S')
-rw-r--r-- | arch/arm/mach-omap2/sleep.S | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/arch/arm/mach-omap2/sleep.S b/arch/arm/mach-omap2/sleep.S index 16247d557853..46ccb9b8b583 100644 --- a/arch/arm/mach-omap2/sleep.S +++ b/arch/arm/mach-omap2/sleep.S | |||
@@ -26,19 +26,10 @@ | |||
26 | #include <asm/arch/io.h> | 26 | #include <asm/arch/io.h> |
27 | #include <asm/arch/pm.h> | 27 | #include <asm/arch/pm.h> |
28 | 28 | ||
29 | #define A_32KSYNC_CR_V IO_ADDRESS(OMAP_TIMER32K_BASE+0x10) | 29 | #include "sdrc.h" |
30 | #define A_PRCM_VOLTCTRL_V IO_ADDRESS(OMAP24XX_PRCM_BASE+0x50) | ||
31 | #define A_PRCM_CLKCFG_CTRL_V IO_ADDRESS(OMAP24XX_PRCM_BASE+0x80) | ||
32 | #define A_CM_CLKEN_PLL_V IO_ADDRESS(OMAP24XX_PRCM_BASE+0x500) | ||
33 | #define A_CM_IDLEST_CKGEN_V IO_ADDRESS(OMAP24XX_PRCM_BASE+0x520) | ||
34 | #define A_CM_CLKSEL1_PLL_V IO_ADDRESS(OMAP24XX_PRCM_BASE+0x540) | ||
35 | #define A_CM_CLKSEL2_PLL_V IO_ADDRESS(OMAP24XX_PRCM_BASE+0x544) | ||
36 | 30 | ||
37 | #define A_SDRC_DLLA_CTRL_V IO_ADDRESS(OMAP24XX_SDRC_BASE+0x60) | 31 | /* First address of reserved address space? apparently valid for OMAP2 & 3 */ |
38 | #define A_SDRC_POWER_V IO_ADDRESS(OMAP24XX_SDRC_BASE+0x70) | ||
39 | #define A_SDRC_RFR_CTRL_V IO_ADDRESS(OMAP24XX_SDRC_BASE+0xA4) | ||
40 | #define A_SDRC0_V (0xC0000000) | 32 | #define A_SDRC0_V (0xC0000000) |
41 | #define A_SDRC_MANUAL_V IO_ADDRESS(OMAP24XX_SDRC_BASE+0xA8) | ||
42 | 33 | ||
43 | .text | 34 | .text |
44 | 35 | ||
@@ -126,17 +117,11 @@ loop2: | |||
126 | ldmfd sp!, {r0 - r12, pc} @ restore regs and return | 117 | ldmfd sp!, {r0 - r12, pc} @ restore regs and return |
127 | 118 | ||
128 | A_SDRC_POWER: | 119 | A_SDRC_POWER: |
129 | .word A_SDRC_POWER_V | 120 | .word OMAP242X_SDRC_REGADDR(SDRC_POWER) |
130 | A_SDRC0: | 121 | A_SDRC0: |
131 | .word A_SDRC0_V | 122 | .word A_SDRC0_V |
132 | A_CM_CLKSEL2_PLL_S: | ||
133 | .word A_CM_CLKSEL2_PLL_V | ||
134 | A_CM_CLKEN_PLL: | ||
135 | .word A_CM_CLKEN_PLL_V | ||
136 | A_SDRC_DLLA_CTRL_S: | 123 | A_SDRC_DLLA_CTRL_S: |
137 | .word A_SDRC_DLLA_CTRL_V | 124 | .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) |
138 | A_SDRC_MANUAL_S: | ||
139 | .word A_SDRC_MANUAL_V | ||
140 | 125 | ||
141 | ENTRY(omap24xx_cpu_suspend_sz) | 126 | ENTRY(omap24xx_cpu_suspend_sz) |
142 | .word . - omap24xx_cpu_suspend | 127 | .word . - omap24xx_cpu_suspend |