Skip to content

Commit

Permalink
arm/imx: Kconfig beautification
Browse files Browse the repository at this point in the history
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Holger Schurig authored and Sascha Hauer committed Mar 13, 2009
1 parent 87bbb19 commit 6bbdbf2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
3 changes: 2 additions & 1 deletion arch/arm/mach-mx1/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if ARCH_MX1

comment "MX1 Platforms"
comment "MX1 platforms:"

config MACH_MXLADS
bool
Expand All @@ -15,4 +15,5 @@ config MACH_SCB9328
bool "Synertronixx scb9328"
help
Say Y here if you are using a Synertronixx scb9328 board

endif
13 changes: 5 additions & 8 deletions arch/arm/mach-mx2/Kconfig
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
comment "MX2 family CPU support"
depends on ARCH_MX2
if ARCH_MX2

choice
prompt "MX2 Type"
depends on ARCH_MX2
prompt "CPUs:"
default MACH_MX21

config MACH_MX21
bool "i.MX21 support"
depends on ARCH_MX2
help
This enables support for Freescale's MX2 based i.MX21 processor.

config MACH_MX27
bool "i.MX27 support"
depends on ARCH_MX2
help
This enables support for Freescale's MX2 based i.MX27 processor.

endchoice

comment "MX2 Platforms"
depends on ARCH_MX2
comment "MX2 platforms:"

config MACH_MX27ADS
bool "MX27ADS platform"
Expand Down Expand Up @@ -50,3 +45,5 @@ config MACH_PCM970_BASEBOARD
PCM970 evaluation board.

endchoice

endif
8 changes: 4 additions & 4 deletions arch/arm/mach-mx3/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
menu "MX3 Options"
depends on ARCH_MX3
if ARCH_MX3

comment "MX3 platforms:"

config MACH_MX31ADS
bool "Support MX31ADS platforms"
Expand Down Expand Up @@ -44,5 +45,4 @@ config MACH_MX31MOBOARD
Include support for mx31moboard platform. This includes specific
configurations for the board and its peripherals.

endmenu

endif
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if ARCH_MXC
menu "Freescale MXC Implementations"

choice
prompt "MXC/iMX Base Type"
prompt "Freescale CPU family:"
default ARCH_MX3

config ARCH_MX1
Expand Down

0 comments on commit 6bbdbf2

Please sign in to comment.