[PATCH 3/6] omap: Make omap specific features appear under Kconfig menu
Tony Lindgren
tony at atomide.com
Tue Jun 29 07:47:29 EDT 2010
This will make Kconfig look nicer for selecting omap processor type
Signed-off-by: Tony Lindgren <tony at atomide.com>
---
arch/arm/mach-omap1/Kconfig | 7 +++++++
arch/arm/mach-omap2/Kconfig | 7 +++++++
arch/arm/plat-omap/Kconfig | 2 +-
3 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig
index b18d7c2..c911cdb 100644
--- a/arch/arm/mach-omap1/Kconfig
+++ b/arch/arm/mach-omap1/Kconfig
@@ -1,3 +1,7 @@
+if ARCH_OMAP1
+
+menu "TI OMAP1 specific features"
+
comment "OMAP Core Type"
depends on ARCH_OMAP1
@@ -237,3 +241,6 @@ config OMAP_ARM_30MHZ
help
Enable 30MHz clock for OMAP CPU. If unsure, say N.
+endmenu
+
+endif
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index f67f037..e94ee6b 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -1,3 +1,7 @@
+if ARCH_OMAP2PLUS
+
+menu "TI OMAP2/3/4 Specific Features"
+
comment "OMAP Core Type"
depends on ARCH_OMAP2
@@ -186,3 +190,6 @@ config OMAP3_SDRC_AC_TIMING
wish to say no. Selecting yes without understanding what is
going on could result in system crashes;
+endmenu
+
+endif
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 3e2e7a8..a4e8727 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -1,6 +1,6 @@
if ARCH_OMAP
-menu "TI OMAP Implementations"
+menu "TI OMAP Common Features"
config ARCH_OMAP_OTG
bool
More information about the linux-arm-kernel
mailing list