ARM: OMAP5 / DRA7: PM: Provide a dummy startup function for CPU hotplug
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 6 Jun 2014 22:30:43 +0000 (17:30 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 8 Sep 2014 16:38:42 +0000 (11:38 -0500)
commite97c4eb342055b24da886b56377dc0093e835b4a
tree52d4f22a3385f74dbdf6c693533045e4e6fc881e
parent325f29da0d21900a78a91724acd6640e59f3e13c
ARM: OMAP5 / DRA7: PM: Provide a dummy startup function for CPU hotplug

Dont assume that all OMAP4+ code will be able to use OMAP4 hotplug
logic. On OMAP5, DRA7, we do not need this in place yet, also,
currently the CPU startup pointer is located in omap4_cpu_pm_info
instead of cpu_pm_ops.

So, isolate the function to hotplug_restart pointer in cpu_pm_ops
where it should have belonged, initalize them as per valid startup
pointers for OMAP4430/60 as in current logic, however provide
dummy_cpu_resume to be the startup location as well.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
[nm@ti.com: split this out of original code and isolate it]
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
arch/arm/mach-omap2/omap-mpuss-lowpower.c