aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-08-09 04:57:12 -0400
committerTero Kristo <t-kristo@ti.com>2017-12-04 04:35:21 -0500
commit2b96be3df5a494e0e90176a54655cf7ad1313b4c (patch)
tree54b7e3439c93be58685441cf75f7279828848a83
parent85ab016cc3b76e529726605d9149f1f1c31ae9ba (diff)
ARM: OMAP2+: hwmod: calculate physical register address on am33xx
Add support for the address translation logic for am33xx. Needed for mapping hwmods towards their corresponding clkctrl providers and clocks. Signed-off-by: Tero Kristo <t-kristo@ti.com>
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index 4b256c83c17b..5eff27e4f24b 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -3519,6 +3519,7 @@ void __init omap_hwmod_init(void)
3519 soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted; 3519 soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted;
3520 soc_ops.init_clkdm = _init_clkdm; 3520 soc_ops.init_clkdm = _init_clkdm;
3521 soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm; 3521 soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm;
3522 soc_ops.xlate_clkctrl = _omap4_xlate_clkctrl;
3522 } else { 3523 } else {
3523 WARN(1, "omap_hwmod: unknown SoC type\n"); 3524 WARN(1, "omap_hwmod: unknown SoC type\n");
3524 } 3525 }