summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/cm2xxx.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-11-11 17:51:52 +0300
committerTero Kristo <t-kristo@ti.com>2015-03-27 11:55:57 +0300
commit5970ca2db960b2c14e077d27950e402e063298e6 (patch)
treef4f649b625842bcbbfdce431afd16a3a654dc023 /arch/arm/mach-omap2/cm2xxx.c
parentfe87414f71d0035756cf91a80ac256557d16b488 (diff)
downloadlinux-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/cm2xxx.c')
-rw-r--r--arch/arm/mach-omap2/cm2xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm2xxx.c b/arch/arm/mach-omap2/cm2xxx.c
index ef62ac9dcd05..f18c844353bc 100644
--- a/arch/arm/mach-omap2/cm2xxx.c
+++ b/arch/arm/mach-omap2/cm2xxx.c
@@ -395,6 +395,7 @@ static struct cm_ll_data omap2xxx_cm_ll_data = {
int __init omap2xxx_cm_init(void)
{
+ omap2_cm_base_init();
return cm_register(&omap2xxx_cm_ll_data);
}