diff options
author | Anson Huang <b20788@freescale.com> | 2011-08-23 10:44:52 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 20:23:22 +0800 |
commit | 27466332d1a84baded698297d1c12bd6b9d7c451 (patch) | |
tree | dfa383b522935ae2d80dbe6e0c82ef552db61558 /arch/arm/mach-mx6/pm.c | |
parent | ca69cd91eff1377075bba760cc97abdb75328a87 (diff) |
ENGR00155219 [MX6]Add protection for dormant mode
1. clean up ddr io code, using macro define;
2. we should consider if the wake up irq comes
during execution of low-power(ms6q_suspend.S)
code but before ARM enter wfi, in this scenario,
system will not enter STOP mode, thus, the resume
code will cause system fail, so we need to consider
if system can not enter STOP mode, should resume
immediately after wfi.
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/pm.c')
-rw-r--r-- | arch/arm/mach-mx6/pm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mx6/pm.c b/arch/arm/mach-mx6/pm.c index 622ec5a241f9..45e43977a538 100644 --- a/arch/arm/mach-mx6/pm.c +++ b/arch/arm/mach-mx6/pm.c @@ -77,7 +77,6 @@ static void __iomem *src_base; static void __iomem *local_twd_base; static void __iomem *gic_dist_base; static void __iomem *gic_cpu_base; -static void __iomem *uart4_base; static void *suspend_iram_base; static void (*suspend_in_iram)(suspend_state_t state, @@ -284,7 +283,6 @@ static int __init pm_init(void) gic_dist_base = IO_ADDRESS(IC_DISTRIBUTOR_BASE_ADDR); gic_cpu_base = IO_ADDRESS(IC_INTERFACES_BASE_ADDR); local_twd_base = IO_ADDRESS(LOCAL_TWD_ADDR); - uart4_base = IO_ADDRESS(0x21f0000); pr_info("Static Power Management for Freescale i.MX6\n"); |