Просмотр исходного кода

omap: Make omap specific features appear under Kconfig menu

This will make Kconfig look nicer for selecting omap processor type

Signed-off-by: Tony Lindgren <tony@atomide.com>
Tony Lindgren 15 лет назад
Родитель
Сommit
4a54db6124
3 измененных файлов с 15 добавлено и 1 удалено
  1. 7 0
      arch/arm/mach-omap1/Kconfig
  2. 7 0
      arch/arm/mach-omap2/Kconfig
  3. 1 1
      arch/arm/plat-omap/Kconfig

+ 7 - 0
arch/arm/mach-omap1/Kconfig

@@ -1,3 +1,7 @@
+if ARCH_OMAP1
+
+menu "TI OMAP1 specific features"
+
 comment "OMAP Core Type"
 comment "OMAP Core Type"
 	depends on ARCH_OMAP1
 	depends on ARCH_OMAP1
 
 
@@ -237,3 +241,6 @@ config OMAP_ARM_30MHZ
 	help
 	help
           Enable 30MHz clock for OMAP CPU. If unsure, say N.
           Enable 30MHz clock for OMAP CPU. If unsure, say N.
 
 
+endmenu
+
+endif

+ 7 - 0
arch/arm/mach-omap2/Kconfig

@@ -1,3 +1,7 @@
+if ARCH_OMAP2PLUS
+
+menu "TI OMAP2/3/4 Specific Features"
+
 comment "OMAP Core Type"
 comment "OMAP Core Type"
 	depends on ARCH_OMAP2
 	depends on ARCH_OMAP2
 
 
@@ -186,3 +190,6 @@ config OMAP3_SDRC_AC_TIMING
 	  wish to say no.  Selecting yes without understanding what is
 	  wish to say no.  Selecting yes without understanding what is
 	  going on could result in system crashes;
 	  going on could result in system crashes;
 
 
+endmenu
+
+endif

+ 1 - 1
arch/arm/plat-omap/Kconfig

@@ -1,6 +1,6 @@
 if ARCH_OMAP
 if ARCH_OMAP
 
 
-menu "TI OMAP Implementations"
+menu "TI OMAP Common Features"
 
 
 config ARCH_OMAP_OTG
 config ARCH_OMAP_OTG
 	bool
 	bool