summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorVaibhav Hiremath2012-08-07 16:14:01 +0200
committerTony Lindgren2012-08-08 16:23:59 +0200
commit90f7f9acecc6dde87cf25db1ad7599926d6773f7 (patch)
tree847979d2a1507dfce16b30e53ff5bd37d05f24db /arch/arm/plat-omap
parentomap: Fix multi.h when only ARCH_OMAP3 and SOC_AM33XX are selected (diff)
downloadkernel-qcow2-linux-90f7f9acecc6dde87cf25db1ad7599926d6773f7.tar.gz
kernel-qcow2-linux-90f7f9acecc6dde87cf25db1ad7599926d6773f7.tar.xz
kernel-qcow2-linux-90f7f9acecc6dde87cf25db1ad7599926d6773f7.zip
ARM: OMAP2+: cpu: Add am33xx device under cpu_class_is_omap2
AM33XX device falls under omap2 class, so make cpu_class_is_omap2() macro true by adding soc_is_am33xx() to existing list of cpu/soc check. This is required to unblock the basic boot support on AM335x platform. Having done that, we still need to sort out properly from common zImage point of view without having to maintain this cpu/soc_is_xxx list. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
index 68b180edcfff..bb5d08a70dbc 100644
--- a/arch/arm/plat-omap/include/plat/cpu.h
+++ b/arch/arm/plat-omap/include/plat/cpu.h
@@ -372,7 +372,8 @@ IS_OMAP_TYPE(3430, 0x3430)
#define cpu_class_is_omap1() (cpu_is_omap7xx() || cpu_is_omap15xx() || \
cpu_is_omap16xx())
#define cpu_class_is_omap2() (cpu_is_omap24xx() || cpu_is_omap34xx() || \
- cpu_is_omap44xx() || soc_is_omap54xx())
+ cpu_is_omap44xx() || soc_is_omap54xx() || \
+ soc_is_am33xx())
/* Various silicon revisions for omap2 */
#define OMAP242X_CLASS 0x24200024