ARM: OMAP: hwmod: remove runtime cpu_is checking
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 6 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] ARM: OMAP: hwmod: remove runtime cpu_is checking
Quoted 13 lines · Santosh Shilimkar
Quoted 12 lines · Kevin Hilman
This series attempts to remove all the runtime cpu_is* checking in
omap_hwmod.cin favor of using function pointers initialized at init time.This series was motivated by the addition of support for the AM335x series which was done by adding several more cpu_is* checks, and provided the proverbial straw that broke the camel's back.
In addition to the cleanup, this provides a much cleaner way of adding additional SoC support since it no longer requires adding additional runtime cpu_is* checks.
Quoted 5 lines
Quoted 2 lines
Boot tested on OMAP3530/Overo and OMAP4430/Panda.
I was looking at some of these while trying to OMAP5 support. Indeed the cpu_is_* is becoming increasingly no maintanable and ugly. Thanks for the series.
Also we need to start considering what happens if non-omap code calls cpu_is_omapxxx for common zImage kernels.. So it's best to make sure they only happen in omap specific calls during init time.
Regards,
Tony