]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP4: PM: Only do static dependency configuration in omap4_init_static_deps
authorNishanth Menon <nm@ti.com>
Tue, 21 Oct 2014 20:22:28 +0000 (15:22 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 11 Nov 2014 00:01:28 +0000 (16:01 -0800)
commit2cebbc81829c090713564d1c242e66a2b6755d96
tree50362f95e1671ff7fafbd9259ae3f3e523be5c73
parent431599d88574e61c220968c5a6da09264c448033
ARM: OMAP4: PM: Only do static dependency configuration in omap4_init_static_deps

Commit cce6708719d8 ("ARM: OMAP4+: PM: Consolidate OMAP4 PM code to
re-use it for OMAP5")

Moved logic generic for OMAP5+ as part of the init routine by
introducing omap4_pm_init. However, the patch left the powerdomain
initial setup, an unused omap4430 es1.0 check and a spurious log
"Power Management for TI OMAP4." in the original code.

Remove the duplicate code which is already present in omap4_pm_init from
omap4_init_static_deps.

As part of this change, also move the u-boot version print out of the
static dependency function to the omap4_pm_init function.

Fixes: cce6708719d8 ("ARM: OMAP4+: PM: Consolidate OMAP4 PM code to re-use it for OMAP5")
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm44xx.c