summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/cm3xxx.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-11-11 16:51:52 +0200
committerTero Kristo <t-kristo@ti.com>2015-03-27 10:55:57 +0200
commit5970ca2db960b2c14e077d27950e402e063298e6 (patch)
treef4f649b625842bcbbfdce431afd16a3a654dc023 /arch/arm/mach-omap2/cm3xxx.c
parentfe87414f71d0035756cf91a80ac256557d16b488 (diff)
ARM: OMAP2+: CM: determine CM base address from device tree
There is no need to provide the CM base address through a low-level API from the low-level IO init, as this information is available through DT. Re-routed the parsing function to be called from the CM drivers also to simplify the implementation under io.c. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm3xxx.c')
-rw-r--r--arch/arm/mach-omap2/cm3xxx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm3xxx.c b/arch/arm/mach-omap2/cm3xxx.c
index ebead8f035f9..88e6cb619861 100644
--- a/arch/arm/mach-omap2/cm3xxx.c
+++ b/arch/arm/mach-omap2/cm3xxx.c
@@ -673,6 +673,8 @@ static struct cm_ll_data omap3xxx_cm_ll_data = {
int __init omap3xxx_cm_init(void)
{
+ omap2_clk_legacy_provider_init(TI_CLKM_CM, cm_base + OMAP3430_IVA2_MOD);
+ omap2_cm_base_init();
return cm_register(&omap3xxx_cm_ll_data);
}