diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-11-11 17:51:52 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-27 11:55:57 +0300 |
commit | 5970ca2db960b2c14e077d27950e402e063298e6 (patch) | |
tree | f4f649b625842bcbbfdce431afd16a3a654dc023 /arch/arm/mach-omap2/cm3xxx.c | |
parent | fe87414f71d0035756cf91a80ac256557d16b488 (diff) | |
download | linux-5970ca2db960b2c14e077d27950e402e063298e6.tar.xz |
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.c | 2 |
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); } |