ARM: OMAP: Change all cpu_is_* occurences to soc_is_* for id.c
authorKeerthy <j-keerthy@ti.com>
Wed, 14 Oct 2015 05:43:08 +0000 (11:13 +0530)
committerTony Lindgren <tony@atomide.com>
Fri, 16 Oct 2015 17:27:03 +0000 (10:27 -0700)
commit3ea4a18288813fe6a283f708c13b60853ddf8bf1
tree07b814739500acd908fe39ddd1b44f662237f6b3
parentd0b5090575350dd4c9dfde3f81980051031fc9f0
ARM: OMAP: Change all cpu_is_* occurences to soc_is_* for id.c

Currently apart from dra7, omap5 and amx3 all the other SoCs
are identified using cpu_is_* functions which is not right since
they are all SoCs(System on Chips). Hence changing the SoC
identification code to use soc_is instead of cpu_is and keeping
defines for cpu_is where needed. This allows us to replace the
rest of cpu_is usage along with other fixes as needed.

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Keerthy <j-keerthy@ti.com>
[tony@atomide.com: reworked the soc.h changes to minimum]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c