diff options
Diffstat (limited to 'arch/arm/mach-omap2/prm_common.c')
-rw-r--r-- | arch/arm/mach-omap2/prm_common.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 264b5e29404d..bfaa7ba595cc 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c | |||
@@ -35,6 +35,8 @@ | |||
35 | #include "prm44xx.h" | 35 | #include "prm44xx.h" |
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "clock.h" | 37 | #include "clock.h" |
38 | #include "cm.h" | ||
39 | #include "control.h" | ||
38 | 40 | ||
39 | /* | 41 | /* |
40 | * OMAP_PRCM_MAX_NR_PENDING_REG: maximum number of PRM_IRQ*_MPU regs | 42 | * OMAP_PRCM_MAX_NR_PENDING_REG: maximum number of PRM_IRQ*_MPU regs |
@@ -641,6 +643,15 @@ int __init of_prcm_init(void) | |||
641 | return 0; | 643 | return 0; |
642 | } | 644 | } |
643 | 645 | ||
646 | void __init omap3_prcm_legacy_iomaps_init(void) | ||
647 | { | ||
648 | ti_clk_ll_ops = &omap_clk_ll_ops; | ||
649 | |||
650 | clk_memmaps[TI_CLKM_CM] = cm_base + OMAP3430_IVA2_MOD; | ||
651 | clk_memmaps[TI_CLKM_PRM] = prm_base + OMAP3430_IVA2_MOD; | ||
652 | clk_memmaps[TI_CLKM_SCRM] = omap_ctrl_base_get(); | ||
653 | } | ||
654 | |||
644 | static int __init prm_late_init(void) | 655 | static int __init prm_late_init(void) |
645 | { | 656 | { |
646 | if (prm_ll_data->late_init) | 657 | if (prm_ll_data->late_init) |