ARM: OMAP2+: PRM: determine PRM base address from device tree

There is no need to provide the PRM 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 PRM drivers also to
simplify the implementation under io.c.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
Tero Kristo
2014-11-11 17:17:18 +02:00
parent 5970ca2db9
commit ae521d4d9c
7 changed files with 52 additions and 20 deletions

View File

@@ -380,6 +380,7 @@ static struct prm_ll_data am33xx_prm_ll_data = {
int __init am33xx_prm_init(void)
{
omap2_prm_base_init();
return prm_register(&am33xx_prm_ll_data);
}