Browse Source

arm/imx: Kconfig beautification

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Holger Schurig 16 years ago
parent
commit
6bbdbf2f95
4 changed files with 12 additions and 14 deletions
  1. 2 1
      arch/arm/mach-mx1/Kconfig
  2. 5 8
      arch/arm/mach-mx2/Kconfig
  3. 4 4
      arch/arm/mach-mx3/Kconfig
  4. 1 1
      arch/arm/plat-mxc/Kconfig

+ 2 - 1
arch/arm/mach-mx1/Kconfig

@@ -1,6 +1,6 @@
 if ARCH_MX1
 if ARCH_MX1
 
 
-comment "MX1 Platforms"
+comment "MX1 platforms:"
 
 
 config MACH_MXLADS
 config MACH_MXLADS
 	bool
 	bool
@@ -15,4 +15,5 @@ config MACH_SCB9328
 	bool "Synertronixx scb9328"
 	bool "Synertronixx scb9328"
 	help
 	help
 	  Say Y here if you are using a Synertronixx scb9328 board
 	  Say Y here if you are using a Synertronixx scb9328 board
+
 endif
 endif

+ 5 - 8
arch/arm/mach-mx2/Kconfig

@@ -1,27 +1,22 @@
-comment "MX2 family CPU support"
-	depends on ARCH_MX2
+if ARCH_MX2
 
 
 choice
 choice
-	prompt "MX2 Type"
-	depends on ARCH_MX2
+	prompt "CPUs:"
 	default MACH_MX21
 	default MACH_MX21
 
 
 config MACH_MX21
 config MACH_MX21
 	bool "i.MX21 support"
 	bool "i.MX21 support"
-	depends on ARCH_MX2
 	help
 	help
 	  This enables support for Freescale's MX2 based i.MX21 processor.
 	  This enables support for Freescale's MX2 based i.MX21 processor.
 
 
 config MACH_MX27
 config MACH_MX27
 	bool "i.MX27 support"
 	bool "i.MX27 support"
-	depends on ARCH_MX2
 	help
 	help
 	  This enables support for Freescale's MX2 based i.MX27 processor.
 	  This enables support for Freescale's MX2 based i.MX27 processor.
 
 
 endchoice
 endchoice
 
 
-comment "MX2 Platforms"
-	depends on ARCH_MX2
+comment "MX2 platforms:"
 
 
 config MACH_MX27ADS
 config MACH_MX27ADS
 	bool "MX27ADS platform"
 	bool "MX27ADS platform"
@@ -50,3 +45,5 @@ config MACH_PCM970_BASEBOARD
 	  PCM970 evaluation board.
 	  PCM970 evaluation board.
 
 
 endchoice
 endchoice
+
+endif

+ 4 - 4
arch/arm/mach-mx3/Kconfig

@@ -1,5 +1,6 @@
-menu "MX3 Options"
-	depends on ARCH_MX3
+if ARCH_MX3
+
+comment "MX3 platforms:"
 
 
 config MACH_MX31ADS
 config MACH_MX31ADS
 	bool "Support MX31ADS platforms"
 	bool "Support MX31ADS platforms"
@@ -44,5 +45,4 @@ config MACH_MX31MOBOARD
 	  Include support for mx31moboard platform. This includes specific
 	  Include support for mx31moboard platform. This includes specific
 	  configurations for the board and its peripherals.
 	  configurations for the board and its peripherals.
 
 
-endmenu
-
+endif

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

@@ -3,7 +3,7 @@ if ARCH_MXC
 menu "Freescale MXC Implementations"
 menu "Freescale MXC Implementations"
 
 
 choice
 choice
-	prompt "MXC/iMX Base Type"
+	prompt "Freescale CPU family:"
 	default ARCH_MX3
 	default ARCH_MX3
 
 
 config ARCH_MX1
 config ARCH_MX1