9
0
Fork 0

Cleanup Kconfig files

This patch provides a global cleanup barebox Kconfig files. This includes
replacing spaces to tabs, formatting in accordance format, removing
extraneous lines and spaces. No functional changes.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2012-12-08 10:51:19 +04:00 committed by Sascha Hauer
parent 1cab895549
commit 4c20f9af97
46 changed files with 138 additions and 142 deletions

View File

@ -19,7 +19,7 @@ config ARM_LINUX
config HAVE_MACH_ARM_HEAD
bool
menu "System Type "
menu "System Type"
choice
prompt "ARM system type"
@ -153,7 +153,7 @@ config THUMB2_BAREBOX
endmenu
menu "Arm specific settings "
menu "Arm specific settings"
config CMD_ARM_CPUINFO
bool "cpuinfo command"

View File

@ -27,7 +27,6 @@ config CPU_ARM920T
Say Y if you want support for the ARM920T processor.
Otherwise, say N.
# ARM926T
config CPU_ARM926T
bool

View File

@ -116,13 +116,12 @@ config SUPPORT_CALAO_MOB_TNY_MD2
if ARCH_AT91RM9200
choice
prompt "AT91RM9200 Board Type"
config MACH_AT91RM9200EK
bool "Atmel AT91RM9200-EK Evaluation Kit"
help
select HAVE_AT91_DATAFLASH_CARD
help
Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
<http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
@ -135,7 +134,6 @@ endif
if ARCH_AT91SAM9260
choice
prompt "AT91SAM9260 Board Type"
config MACH_AT91SAM9260EK
@ -218,7 +216,6 @@ endif
if ARCH_AT91SAM9G20
choice
prompt "AT91SAM9G20 Board Type"
config MACH_AT91SAM9G20EK

View File

@ -197,7 +197,6 @@ endchoice
if ARCH_IMX1
choice
prompt "i.MX1 Board Type"
config MACH_SCB9328
@ -216,7 +215,6 @@ endif
if ARCH_IMX21
choice
prompt "i.MX21 Board Type"
config MACH_IMX21ADS
@ -236,7 +234,6 @@ endif
if ARCH_IMX25
choice
prompt "i.MX25 Board Type"
config MACH_EUKREA_CPUIMX25
@ -270,7 +267,6 @@ endif
if ARCH_IMX27
choice
prompt "i.MX27 Board Type"
config MACH_EUKREA_CPUIMX27
@ -329,7 +325,6 @@ endif
if ARCH_IMX31
choice
prompt "i.MX31 Board Type"
config MACH_PCM037
@ -350,7 +345,6 @@ endif
if ARCH_IMX35
choice
prompt "i.MX35 Board Type"
config MACH_EUKREA_CPUIMX35
@ -397,7 +391,6 @@ endif
if ARCH_IMX51
choice
prompt "i.MX51 Board Type"
config MACH_FREESCALE_MX51_PDK
@ -442,7 +435,6 @@ endif
if ARCH_IMX53
choice
prompt "i.MX53 Board Type"
config MACH_FREESCALE_MX53_LOCO
@ -471,6 +463,7 @@ config MACH_TX53
endchoice
if MACH_TX53
choice
prompt "TX53 board revision"
config TX53_REV_1011
@ -478,6 +471,7 @@ config TX53_REV_1011
config TX53_REV_XX30
bool "8030 / 1030"
endchoice
endif
endif
@ -485,7 +479,6 @@ endif
if ARCH_IMX6
choice
prompt "i.MX6 Board Type"
config MACH_MX6Q_ARM2
@ -500,9 +493,10 @@ endif
# ----------------------------------------------------------
menu "Board specific settings "
menu "Board specific settings"
if MACH_PCM037
choice
prompt "SDRAM Bank0"
config PCM037_SDRAM_BANK0_128MB
@ -520,9 +514,11 @@ config PCM037_SDRAM_BANK1_128MB
config PCM037_SDRAM_BANK1_256MB
bool "256MB"
endchoice
endif
if MACH_EUKREA_CPUIMX27
choice
prompt "SDRAM Size"
config EUKREA_CPUIMX27_SDRAM_128MB
@ -530,6 +526,7 @@ config EUKREA_CPUIMX27_SDRAM_128MB
config EUKREA_CPUIMX27_SDRAM_256MB
bool "256 MB"
endchoice
choice
prompt "NOR Flash Size"
config EUKREA_CPUIMX27_NOR_32MB
@ -537,6 +534,7 @@ config EUKREA_CPUIMX27_NOR_32MB
config EUKREA_CPUIMX27_NOR_64MB
bool "> 32 MB"
endchoice
choice
prompt "Quad UART Port"
depends on DRIVER_SERIAL_NS16550
@ -549,8 +547,11 @@ config EUKREA_CPUIMX27_QUART3
config EUKREA_CPUIMX27_QUART4
bool "Q4"
endchoice
endif
if MACH_FREESCALE_MX25_3STACK
choice
prompt "SDRAM Type"
config FREESCALE_MX25_3STACK_SDRAM_64MB_DDR2
@ -558,10 +559,12 @@ config FREESCALE_MX25_3STACK_SDRAM_64MB_DDR2
config FREESCALE_MX25_3STACK_SDRAM_128MB_MDDR
bool "128 MB (mDDR)"
endchoice
endif
endmenu
menu "i.MX specific settings "
menu "i.MX specific settings"
config IMX_IIM
tristate "IIM fusebox device"

View File

@ -84,7 +84,7 @@ endchoice
endif
menu "i.MX specific settings "
menu "i.MX specific settings"
config MXS_OCOTP
tristate "OCOTP device"
@ -117,7 +117,7 @@ config MXS_CMD_BCB
endmenu
menu "Board specific settings "
menu "Board specific settings"
if MACH_TX28

View File

@ -40,7 +40,6 @@ config NETX_COOKIE
default 16 if MACH_NXHX
choice
prompt "Netx Board Type"
config MACH_NXDB500

View File

@ -169,7 +169,8 @@ config MACH_PCAAXL2
endchoice
if MACH_OMAP3EVM
choice
choice
prompt "Select UART"
config OMAP3EVM_UART1
@ -183,7 +184,9 @@ if MACH_OMAP3EVM
depends on MACH_OMAP3EVM
help
Say Y here if you would like to use UART3 as console.
endchoice
endchoice
endif
config MACH_OMAP_ADVANCED_MUX

View File

@ -35,7 +35,6 @@ config CPU_S3C2440
bool
choice
prompt "S3C24xx Board Type"
config MACH_A9M2410
@ -71,7 +70,7 @@ config MACH_MINI2440
endchoice
menu "Board specific settings "
menu "Board specific settings"
choice
prompt "A9M2440 baseboard"
@ -98,7 +97,6 @@ config CPU_S3C6410
bool
choice
prompt "S3C64xx Board Type"
config MACH_MINI6410
@ -118,7 +116,7 @@ config MACH_TINY6410
endchoice
menu "Board specific settings "
menu "Board specific settings"
source arch/arm/boards/friendlyarm-tiny6410/Kconfig
@ -135,7 +133,6 @@ config CPU_S5PV210
bool
choice
prompt "S5PCxx board type"
config MACH_TINY210
@ -149,8 +146,7 @@ endchoice
endif
menu "S3C Features "
menu "S3C Features"
config S3C_LOWLEVEL_INIT
bool

View File

@ -66,6 +66,7 @@ endmenu
# answer,so we try hard to limit the available choices. Also the use of a
# choice statement should be more obvious to the user.
#
choice
prompt "Endianess selection"
help
@ -148,7 +149,6 @@ config CPU_MIPS64_R2
endchoice
config SYS_HAS_CPU_MIPS32_R1
bool
@ -216,7 +216,7 @@ config 64BIT
endchoice
menu "MIPS specific settings "
menu "MIPS specific settings"
config CMD_MIPS_CPUINFO
bool "cpuinfo command"

View File

@ -16,13 +16,12 @@ choice
prompt "Select your board"
config GENERIC
bool "Generic "
bool "Generic"
select NIOS2
endchoice
menu "Board configuration "
menu "Board configuration"
config EARLY_PRINTF
default n

View File

@ -16,7 +16,7 @@ choice
prompt "Select your board"
config GENERIC
bool "Generic "
bool "Generic"
select OPENRISC
endchoice

View File

@ -50,4 +50,5 @@ config MACH_PHYCORE_MPC5200B_TINY_REV
old board you should set this option to 1
endmenu
endif

View File

@ -20,6 +20,7 @@ config P2020RDB
Say Y here if you are using the Freescale P2020RDB
endchoice
endif
if P2020RDB

View File

@ -40,8 +40,7 @@ choice
prompt "Bring up type"
config X86_BIOS_BRINGUP
prompt "16 bit BIOS"
bool
bool "16 bit BIOS"
help
Barebox will act as a BIOS based bootloader. This includes
some 16 bit real mode code and some restrictions everyone knows

View File

@ -1,6 +1,6 @@
if X86_BIOS_BRINGUP
menu "BIOS boot source "
menu "BIOS boot source"
config X86_HDBOOT
bool "HD boot"

View File

@ -1,5 +1,5 @@
menu "Board specific settings "
menu "Board specific settings"
if X86_BOOTLOADER

View File

@ -12,9 +12,9 @@ config HAS_POWEROFF
if COMMAND_SUPPORT
menu "commands "
menu "commands"
menu "scripting "
menu "scripting"
config CMD_EDIT
tristate
@ -130,7 +130,7 @@ config CMD_GLOBAL
endmenu
menu "file commands "
menu "file commands"
config CMD_LS
tristate
@ -237,7 +237,7 @@ config CMD_FILETYPE
endmenu
menu "console "
menu "console"
config CMD_CLEAR
tristate
@ -257,7 +257,7 @@ config CMD_ECHO_E
endmenu
menu "memory "
menu "memory"
config CMD_LOADB
select CRC16
@ -335,7 +335,7 @@ config CMD_SHA224SUM
endmenu
menu "flash "
menu "flash"
config CMD_FLASH
tristate
@ -349,8 +349,7 @@ config CMD_UBI
endmenu
menu "booting "
menu "booting"
config CMD_BOOTM
tristate
@ -479,7 +478,7 @@ config CMD_OFTREE_PROBE
endmenu
menu "testing "
menu "testing"
config CMD_NANDTEST
tristate
@ -500,7 +499,7 @@ config CMD_MTEST_ALTERNATIVE
endmenu
menu "video command "
menu "video command"
if VIDEO
@ -659,7 +658,7 @@ config CMD_CLK
menuconfig CMD_WD
bool
depends on WATCHDOG
prompt "wd command "
prompt "wd command"
help
The 'wd' command which allows to start, stop and trigger the onboard
watchdog.

View File

@ -61,7 +61,7 @@ config STDDEV
config BAREBOX_UPDATE
bool
menu "General Settings "
menu "General Settings"
config LOCALVERSION
string "Local version - append to the version string"
@ -106,7 +106,7 @@ config MEMINFO
config ENVIRONMENT_VARIABLES
bool "environment variables support"
menu "memory layout "
menu "memory layout"
config HAVE_PBL_IMAGE
bool
@ -635,7 +635,7 @@ config RESET_SOURCE
endmenu
menu "Debugging "
menu "Debugging"
config DEBUG_INFO
bool

View File

@ -8,7 +8,7 @@ config CRC7
bool
menuconfig DIGEST
bool "Digest "
bool "Digest"
if DIGEST

View File

@ -1,4 +1,4 @@
menu "Drivers "
menu "Drivers"
source "drivers/serial/Kconfig"
source "drivers/net/Kconfig"

View File

@ -2,7 +2,7 @@ menuconfig DISK
select BLOCK
select PARTITION
select PARTITION_DISK
bool "Disk support "
bool "Disk support"
help
Add support for disk like drives like harddisks, CDROMs, SD cards and
CF cards.

View File

@ -4,7 +4,7 @@ config GPIOLIB
if GPIOLIB
menu "GPIO "
menu "GPIO"
config GPIO_BCM2835
bool "GPIO support for BCM2835"

View File

@ -1,5 +1,5 @@
menuconfig I2C
bool "I2C drivers "
bool "I2C drivers"
if I2C

View File

@ -1,5 +1,5 @@
menuconfig MCI
bool "MCI drivers "
bool "MCI drivers"
select DISK
help
Add support for MCI drivers, used to handle MMC and SD cards

View File

@ -3,7 +3,7 @@
#
menuconfig MISC_DEVICES
bool "Misc devices "
bool "Misc devices"
help
Add support for misc strange devices

View File

@ -1,5 +1,5 @@
menuconfig NAND
bool "NAND support "
bool "NAND support"
select MTD_NAND_IDS
help
This enables support for accessing all type of NAND flash

View File

@ -1,5 +1,5 @@
config UBI
bool "UBI support "
bool "UBI support"
select PARTITION_NEED_MTD
select CRC32
help

View File

@ -22,7 +22,7 @@ config ARCH_HAS_FEC_IMX
config PHYLIB
bool
menu "Network drivers "
menu "Network drivers"
depends on NET
source "drivers/net/phy/Kconfig"

View File

@ -2,7 +2,7 @@
# PHY Layer Configuration
#
menu "phylib "
menu "phylib"
if PHYLIB

View File

@ -1,7 +1,7 @@
menu "flash drivers "
menu "flash drivers"
menuconfig DRIVER_CFI
bool "CFI "
bool "CFI"
help
If you have NOR Flash devices connected to your system and wish
to use them say yes here.

View File

@ -1,4 +1,4 @@
menu "serial drivers "
menu "serial drivers"
config DRIVER_SERIAL_ARM_DCC
depends on ARM

View File

@ -1,4 +1,4 @@
menu "SPI drivers "
menu "SPI drivers"
config SPI
bool "Enable SPI driver support"

View File

@ -1,5 +1,5 @@
menuconfig USB
bool "USB support "
bool "USB support"
if USB

View File

@ -1,6 +1,6 @@
menuconfig USB_GADGET
depends on USB_HAVE_GADGET_DRIVER
bool "USB gadget support "
bool "USB gadget support"
config USB_HAVE_GADGET_DRIVER
bool

View File

@ -1,5 +1,5 @@
menuconfig VIDEO
bool "Video drivers "
bool "Video drivers"
help
Add support for framebuffer and splash screens

View File

@ -3,7 +3,7 @@ config WATCHDOG_IMX_RESET_SOURCE
bool
menuconfig WATCHDOG
bool "Watchdog support "
bool "Watchdog support"
help
Many platforms support a watchdog to keep track of a working machine.
This framework provides routines to handle these watchdogs.

View File

@ -1,5 +1,5 @@
menu "Filesystem support "
menu "Filesystem support"
config FS
bool

View File

@ -1,4 +1,4 @@
menu "Library routines "
menu "Library routines"
config PARAMETER
bool

View File

@ -1,4 +1,4 @@
menu "Library gui routines "
menu "Library gui routines"
config IMAGE_RENDERER
bool

View File

@ -1,5 +1,5 @@
menuconfig NET
bool "Networking Support "
bool "Networking Support"
if NET