Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b96be3d authored by Tero Kristo's avatar Tero Kristo
Browse files

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: default avatarTero Kristo <t-kristo@ti.com>
parent 85ab016c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3519,6 +3519,7 @@ void __init omap_hwmod_init(void)
		soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted;
		soc_ops.init_clkdm = _init_clkdm;
		soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm;
		soc_ops.xlate_clkctrl = _omap4_xlate_clkctrl;
	} else {
		WARN(1, "omap_hwmod: unknown SoC type\n");
	}