ARM: OMAP2+: control: determine control module base address from DT

There is no need to provide the control module base address through a
low-level API from the low-level IO init, as this information is
available through DT. This patch adds a new API to initialize the
control module though, but mostly makes the old API obsolete. The
old API can be completely removed once OMAP3 is made DT only.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
Tero Kristo
2014-11-13 19:17:34 +02:00
parent ae521d4d9c
commit 2208bf115f
5 changed files with 61 additions and 30 deletions

View File

@@ -722,11 +722,6 @@ int __init omap_prcm_init(void)
return 0;
}
void __init omap3_prcm_legacy_iomaps_init(void)
{
omap2_clk_legacy_provider_init(TI_CLKM_SCRM, omap_ctrl_base_get());
}
static int __init prm_late_init(void)
{
if (prm_ll_data->late_init)