diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-04-27 19:14:54 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 13:59:10 -0400 |
commit | b1340d17d25f9a51acf003ba4742e77aefb32071 (patch) | |
tree | f74f14b5e5f3a34cc9dd059e4a7501dba2f1c824 /arch/arm/mach-omap2 | |
parent | 014c46db1c596299fc2c1d231cee30bb211035dc (diff) |
OMAP3: PM: Clear pending PRCM reset flags on init
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 6bbb047a2757..8b8a2dd49471 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -595,6 +595,15 @@ static void __init prcm_setup_regs(void) | |||
595 | prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, | 595 | prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, |
596 | OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); | 596 | OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); |
597 | 597 | ||
598 | /* Clear any pending 'reset' flags */ | ||
599 | prm_write_mod_reg(0xffffffff, MPU_MOD, RM_RSTST); | ||
600 | prm_write_mod_reg(0xffffffff, CORE_MOD, RM_RSTST); | ||
601 | prm_write_mod_reg(0xffffffff, OMAP3430_PER_MOD, RM_RSTST); | ||
602 | prm_write_mod_reg(0xffffffff, OMAP3430_EMU_MOD, RM_RSTST); | ||
603 | prm_write_mod_reg(0xffffffff, OMAP3430_NEON_MOD, RM_RSTST); | ||
604 | prm_write_mod_reg(0xffffffff, OMAP3430_DSS_MOD, RM_RSTST); | ||
605 | prm_write_mod_reg(0xffffffff, OMAP3430ES2_USBHOST_MOD, RM_RSTST); | ||
606 | |||
598 | /* Clear any pending PRCM interrupts */ | 607 | /* Clear any pending PRCM interrupts */ |
599 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | 608 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); |
600 | 609 | ||