diff options
author | Tony Lindgren <tony@atomide.com> | 2015-01-15 01:37:16 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-01-15 01:37:16 (GMT) |
commit | c27964b5d2f3c36b0160d6d26f79f2d4730c440b (patch) | |
tree | c26967c376bdf7ad2cca0b594bc47ef23e03e9fd /arch/arm/mach-omap2/powerdomains3xxx_data.c | |
parent | e226ebe95e7afb79ff24c53f9984b8acad13cc81 (diff) | |
download | linux-c27964b5d2f3c36b0160d6d26f79f2d4730c440b.tar.xz |
ARM: OMAP2+: Fix ti81xx class type
Otherwise it will return true for cpu_is_omap34xx() which we don't
want for the clocks and hwmod. It's closer to am33xx for the clocks
and hwmod than to the omap34xx. We also want to be able to detect
814x and 816x separately as at least the clocks are different with
814x using a apll and 816x using a fapll for the source clocks.
Note that we can also remove omap3xxx_clk_init() call as it's wrong
and ti81xx are booting in device tree only mode.
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/powerdomains3xxx_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/powerdomains3xxx_data.c b/arch/arm/mach-omap2/powerdomains3xxx_data.c index 328c103..70bc706 100644 --- a/arch/arm/mach-omap2/powerdomains3xxx_data.c +++ b/arch/arm/mach-omap2/powerdomains3xxx_data.c @@ -464,7 +464,7 @@ void __init omap3xxx_powerdomains_init(void) { unsigned int rev; - if (!cpu_is_omap34xx()) + if (!cpu_is_omap34xx() && !cpu_is_ti81xx()) return; pwrdm_register_platform_funcs(&omap3_pwrdm_operations); |