diff options
author | Michael Turquette <mturquette@linaro.org> | 2015-01-30 21:57:21 +0300 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-02-03 01:23:33 +0300 |
commit | fe767560523d7556cb11fef466adf4b10141d73b (patch) | |
tree | d70e4a3b6539f21eb675adce10ad965b95ed4dfe /arch/arm/mach-omap2/prm_common.c | |
parent | 035a61c314eb3dab5bcc5683afaf4d412689858a (diff) | |
parent | d6540b1937192271a11ee02c3d197ddc39090257 (diff) | |
download | linux-fe767560523d7556cb11fef466adf4b10141d73b.tar.xz |
Merge branch 'clk-omap-legacy' into clk-next
Conflicts:
arch/arm/mach-omap2/cclock3xxx_data.c
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 779940cb6e56..542dd9dbd035 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c @@ -35,6 +35,8 @@ #include "prm44xx.h" #include "common.h" #include "clock.h" +#include "cm.h" +#include "control.h" /* * OMAP_PRCM_MAX_NR_PENDING_REG: maximum number of PRM_IRQ*_MPU regs @@ -627,6 +629,15 @@ int __init of_prcm_init(void) return 0; } +void __init omap3_prcm_legacy_iomaps_init(void) +{ + ti_clk_ll_ops = &omap_clk_ll_ops; + + clk_memmaps[TI_CLKM_CM] = cm_base + OMAP3430_IVA2_MOD; + clk_memmaps[TI_CLKM_PRM] = prm_base + OMAP3430_IVA2_MOD; + clk_memmaps[TI_CLKM_SCRM] = omap_ctrl_base_get(); +} + static int __init prm_late_init(void) { if (prm_ll_data->late_init) |