Skip to content

Commit 4b0ed69

Browse files
committed
ARM: OMAP2+: add dependencies on ARCH_MULTI_V6/V7
CONFIG_ARCH_OMAP2PLUS depends on (ARCH_MULTI_V6 || ARCH_MULTI_V7) as of a069486 "ARM: OMAP2+: Enable ARCH_MULTIPLATFORM support", but the individual OMAP2/3/4/5 and AM33XX platforms can all be selected independent of what we are building for, which is a bug and prevents us from easily building e.g. an ARMv7-only defconfig. This makes ARCH_OMAP2 depend on ARCH_MULTI_V6 and the others depend on ARCH_MULTI_V7, to ensure we really only build the platforms for the CPUs we have enabled in the global multiplatform configuration step. Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent c312908 commit 4b0ed69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/arm/mach-omap2/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ config SOC_HAS_REALTIME_COUNTER
5555
config ARCH_OMAP2
5656
bool "TI OMAP2"
5757
depends on ARCH_OMAP2PLUS
58+
depends on ARCH_MULTI_V6
5859
default y
5960
select CPU_V6
6061
select MULTI_IRQ_HANDLER
@@ -64,6 +65,7 @@ config ARCH_OMAP2
6465
config ARCH_OMAP3
6566
bool "TI OMAP3"
6667
depends on ARCH_OMAP2PLUS
68+
depends on ARCH_MULTI_V7
6769
default y
6870
select ARCH_HAS_OPP
6971
select ARM_CPU_SUSPEND if PM
@@ -80,6 +82,7 @@ config ARCH_OMAP4
8082
bool "TI OMAP4"
8183
default y
8284
depends on ARCH_OMAP2PLUS
85+
depends on ARCH_MULTI_V7
8386
select ARCH_HAS_OPP
8487
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
8588
select ARM_CPU_SUSPEND if PM
@@ -99,6 +102,7 @@ config ARCH_OMAP4
99102

100103
config SOC_OMAP5
101104
bool "TI OMAP5"
105+
depends on ARCH_MULTI_V7
102106
select ARM_CPU_SUSPEND if PM
103107
select ARM_GIC
104108
select CPU_V7
@@ -135,6 +139,7 @@ config SOC_TI81XX
135139

136140
config SOC_AM33XX
137141
bool "AM33XX support"
142+
depends on ARCH_MULTI_V7
138143
default y
139144
select ARM_CPU_SUSPEND if PM
140145
select CPU_V7

0 commit comments

Comments
 (0)