diff options
| author | Sanjeev Premi <premi@ti.com> | 2009-11-02 09:53:38 -0500 |
|---|---|---|
| committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-01-20 21:16:01 -0500 |
| commit | a174e609b5b9b3bc1c5859402be8d8d88f6e098c (patch) | |
| tree | 235c1bda3fab5b6d04e31b497f040217f58f16ed | |
| parent | f18cc2ff5e18e8eb6df5284866331ef4a2db58d6 (diff) | |
OMAP3: PM: Remove duplicate code blocks
This patch removes code blocks that are repeated
in function prcm_setup_regs().
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
| -rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index af83555795ff..d6cab338cad1 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
| @@ -910,24 +910,6 @@ static void __init prcm_setup_regs(void) | |||
| 910 | /* Clear any pending PRCM interrupts */ | 910 | /* Clear any pending PRCM interrupts */ |
| 911 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | 911 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); |
| 912 | 912 | ||
| 913 | /* Don't attach IVA interrupts */ | ||
| 914 | prm_write_mod_reg(0, WKUP_MOD, OMAP3430_PM_IVAGRPSEL); | ||
| 915 | prm_write_mod_reg(0, CORE_MOD, OMAP3430_PM_IVAGRPSEL1); | ||
| 916 | prm_write_mod_reg(0, CORE_MOD, OMAP3430ES2_PM_IVAGRPSEL3); | ||
| 917 | prm_write_mod_reg(0, OMAP3430_PER_MOD, OMAP3430_PM_IVAGRPSEL); | ||
| 918 | |||
| 919 | /* Clear any pending 'reset' flags */ | ||
| 920 | prm_write_mod_reg(0xffffffff, MPU_MOD, RM_RSTST); | ||
| 921 | prm_write_mod_reg(0xffffffff, CORE_MOD, RM_RSTST); | ||
| 922 | prm_write_mod_reg(0xffffffff, OMAP3430_PER_MOD, RM_RSTST); | ||
| 923 | prm_write_mod_reg(0xffffffff, OMAP3430_EMU_MOD, RM_RSTST); | ||
| 924 | prm_write_mod_reg(0xffffffff, OMAP3430_NEON_MOD, RM_RSTST); | ||
| 925 | prm_write_mod_reg(0xffffffff, OMAP3430_DSS_MOD, RM_RSTST); | ||
| 926 | prm_write_mod_reg(0xffffffff, OMAP3430ES2_USBHOST_MOD, RM_RSTST); | ||
| 927 | |||
| 928 | /* Clear any pending PRCM interrupts */ | ||
| 929 | prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); | ||
| 930 | |||
| 931 | omap3_iva_idle(); | 913 | omap3_iva_idle(); |
| 932 | omap3_d2d_idle(); | 914 | omap3_d2d_idle(); |
| 933 | } | 915 | } |
