Commit 52aaac5a authored by Tony Lindgren's avatar Tony Lindgren Committed by Arnd Bergmann

ARM: OMAP: Fix Kconfig warning for omap1

Commit 21278aea ("ARM: use menuconfig for sub-arch menus") improved
the sub-arch menus, but accidentally caused new warnings for omap1.
This was because the commit added a menu entry around config ARCH_OMAP
bool entry where the menu had depends on ARCH_MULTI_V6 || ARCH_MULTI_V7.

As ARCH_OMAP is shared between omap1 and omap2plus, let's fix the
issue by defining ARCH_OMAP in the shared plat-omap/Kconfig.

Fixes: 21278aea ("ARM: use menuconfig for sub-arch menus")
Reported-by: default avatarAndreas Ruprecht <rupran@einserver.de>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 2ce7598c
menu "TI OMAP/AM/DM/DRA Family" menu "TI OMAP/AM/DM/DRA Family"
depends on ARCH_MULTI_V6 || ARCH_MULTI_V7 depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
config ARCH_OMAP
bool
config ARCH_OMAP2 config ARCH_OMAP2
bool "TI OMAP2" bool "TI OMAP2"
depends on ARCH_MULTI_V6 depends on ARCH_MULTI_V6
......
config ARCH_OMAP
bool
if ARCH_OMAP if ARCH_OMAP
menu "TI OMAP Common Features" menu "TI OMAP Common Features"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment