summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/sleep33xx.S
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2018-07-09 10:33:17 +0300
committerTony Lindgren <tony@atomide.com>2018-07-10 09:01:34 +0300
commit8c5a916f4c8815196cc8a86b9582ca89422aac25 (patch)
tree5e5b50ed30d2804ed2c4826da5892f6f66bc565f /arch/arm/mach-omap2/sleep33xx.S
parent74655749a58405e259eaaba66bfc391fdbe1e34e (diff)
downloadlinux-8c5a916f4c8815196cc8a86b9582ca89422aac25.tar.xz
ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support
Add support for RTC mode to low level suspend code. This includes providing the rtc base address for the assembly code to configuring the PMIC_PWR_EN line late in suspend to enter RTC+DDR mode. Note: This patch also fold in left out space parameter for am33xx_emif_sram_table and am43xx_emif_sram_table Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/sleep33xx.S')
-rw-r--r--arch/arm/mach-omap2/sleep33xx.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/sleep33xx.S b/arch/arm/mach-omap2/sleep33xx.S
index 8d0d53b671f9..47a816468cdb 100644
--- a/arch/arm/mach-omap2/sleep33xx.S
+++ b/arch/arm/mach-omap2/sleep33xx.S
@@ -228,8 +228,6 @@ ENDPROC(am33xx_resume_from_deep_sleep)
* Local variables
*/
.align
-resume_addr:
- .word cpu_resume - PAGE_OFFSET + 0x80000000
kernel_flush:
.word v7_flush_dcache_all
virt_mpu_clkctrl:
@@ -252,6 +250,9 @@ ENTRY(am33xx_pm_sram)
.word am33xx_emif_sram_table
.word am33xx_pm_ro_sram_data
+resume_addr:
+.word cpu_resume - PAGE_OFFSET + 0x80000000
+
.align 3
ENTRY(am33xx_pm_ro_sram_data)
.space AMX3_PM_RO_SRAM_DATA_SIZE