diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-11-11 09:51:52 -0500 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-27 04:55:57 -0400 |
commit | 5970ca2db960b2c14e077d27950e402e063298e6 (patch) | |
tree | f4f649b625842bcbbfdce431afd16a3a654dc023 /arch/arm/mach-omap2/cm33xx.c | |
parent | fe87414f71d0035756cf91a80ac256557d16b488 (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/cm33xx.c')
-rw-r--r-- | arch/arm/mach-omap2/cm33xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cm33xx.c b/arch/arm/mach-omap2/cm33xx.c index cc5aac784278..221bca3fbfa6 100644 --- a/arch/arm/mach-omap2/cm33xx.c +++ b/arch/arm/mach-omap2/cm33xx.c | |||
@@ -354,6 +354,7 @@ static struct cm_ll_data am33xx_cm_ll_data = { | |||
354 | 354 | ||
355 | int __init am33xx_cm_init(void) | 355 | int __init am33xx_cm_init(void) |
356 | { | 356 | { |
357 | omap2_cm_base_init(); | ||
357 | return cm_register(&am33xx_cm_ll_data); | 358 | return cm_register(&am33xx_cm_ll_data); |
358 | } | 359 | } |
359 | 360 | ||