1
0
Fork 0

kconfig: remove redundant "string" type in arch and board Kconfigs

Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
are specified in arch/Kconfig.

We can delete the ones in arch and board Kconfig files.

This commit can be easily reproduced by the following command:

find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
}
'

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
utp
Masahiro Yamada 2014-09-14 03:01:49 +09:00 committed by Tom Rini
parent 3174e4e812
commit 461be2f96e
603 changed files with 0 additions and 2161 deletions

View File

@ -2,7 +2,6 @@ menu "ARC architecture"
depends on ARC
config SYS_ARCH
string
default "arc"
choice

View File

@ -2,7 +2,6 @@ menu "ARM architecture"
depends on ARM
config SYS_ARCH
string
default "arm"
choice

View File

@ -54,11 +54,9 @@ config TARGET_CALIMAIN
endchoice
config SYS_CPU
string
default "arm926ejs"
config SYS_SOC
string
default "davinci"
source "board/enbw/enbw_cmc/Kconfig"

View File

@ -60,11 +60,9 @@ config TARGET_GOFLEXHOME
endchoice
config SYS_CPU
string
default "arm926ejs"
config SYS_SOC
string
default "kirkwood"
source "board/Marvell/openrd/Kconfig"

View File

@ -9,11 +9,9 @@ config NOMADIK_NHK8815
endchoice
config SYS_CPU
string
default "arm926ejs"
config SYS_SOC
string
default "nomadik"
source "board/st/nhk8815/Kconfig"

View File

@ -9,11 +9,9 @@ config TARGET_EDMINIV2
endchoice
config SYS_CPU
string
default "arm926ejs"
config SYS_SOC
string
default "orion5x"
source "board/LaCie/edminiv2/Kconfig"

View File

@ -1,23 +1,18 @@
if ARCH_VERSATILE
config SYS_CPU
string
default "arm926ejs"
config SYS_BOARD
string
default "versatile"
config SYS_VENDOR
string
default "armltd"
config SYS_SOC
string
default "versatile"
config SYS_CONFIG_NAME
string
default "versatile"
endif

View File

@ -39,11 +39,9 @@ config TARGET_PEACH_PIT
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "exynos"
source "board/samsung/smdkv310/Kconfig"

View File

@ -1,19 +1,15 @@
if ARCH_HIGHBANK
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "highbank"
config SYS_SOC
string
default "highbank"
config SYS_CONFIG_NAME
string
default "highbank"
endif

View File

@ -12,11 +12,9 @@ config TARGET_K2E_EVM
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "keystone"
source "board/ti/ks2_evm/Kconfig"

View File

@ -75,11 +75,9 @@ config TARGET_TWISTER
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "omap3"
source "board/logicpd/am3517evm/Kconfig"

View File

@ -15,11 +15,9 @@ config TARGET_OMAP4_SDP4430
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "omap4"
source "board/gumstix/duovero/Kconfig"

View File

@ -15,11 +15,9 @@ config TARGET_DRA7XX_EVM
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "omap5"
source "board/compulab/cm_t54/Kconfig"

View File

@ -21,11 +21,9 @@ config TARGET_ALT
endchoice
config SYS_CPU
string
default "armv7"
config SYS_SOC
string
default "rmobile"
source "board/atmark-techno/armadillo-800eva/Kconfig"

View File

@ -18,7 +18,6 @@ config TEGRA124
endchoice
config SYS_CPU
string
default "arm720t" if SPL_BUILD
default "armv7" if !SPL_BUILD

View File

@ -9,7 +9,6 @@ config TARGET_DALMORE
endchoice
config SYS_SOC
string
default "tegra114"
source "board/nvidia/dalmore/Kconfig"

View File

@ -12,7 +12,6 @@ config TARGET_VENICE2
endchoice
config SYS_SOC
string
default "tegra124"
source "board/nvidia/jetson-tk1/Kconfig"

View File

@ -36,7 +36,6 @@ config TARGET_COLIBRI_T20_IRIS
endchoice
config SYS_SOC
string
default "tegra20"
source "board/nvidia/harmony/Kconfig"

View File

@ -18,7 +18,6 @@ config TARGET_TEC_NG
endchoice
config SYS_SOC
string
default "tegra30"
source "board/nvidia/beaver/Kconfig"

View File

@ -18,23 +18,18 @@ config TARGET_ZYNQ_ZC770
endchoice
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "zynq"
config SYS_VENDOR
string
default "xilinx"
config SYS_SOC
string
default "zynq"
config SYS_CONFIG_NAME
string
default "zynq_zed" if TARGET_ZYNQ_ZED
default "zynq_microzed" if TARGET_ZYNQ_MICROZED
default "zynq_zc70x" if TARGET_ZYNQ_ZC70X

View File

@ -2,7 +2,6 @@ menu "AVR32 architecture"
depends on AVR32
config SYS_ARCH
string
default "avr32"
choice

View File

@ -2,7 +2,6 @@ menu "Blackfin architecture"
depends on BLACKFIN
config SYS_ARCH
string
default "blackfin"
choice

View File

@ -2,7 +2,6 @@ menu "M68000 architecture"
depends on M68K
config SYS_ARCH
string
default "m68k"
choice

View File

@ -2,7 +2,6 @@ menu "MicroBlaze architecture"
depends on MICROBLAZE
config SYS_ARCH
string
default "microblaze"
choice

View File

@ -2,7 +2,6 @@ menu "MIPS architecture"
depends on MIPS
config SYS_ARCH
string
default "mips"
choice

View File

@ -2,7 +2,6 @@ menu "NDS32 architecture"
depends on NDS32
config SYS_ARCH
string
default "nds32"
choice

View File

@ -2,7 +2,6 @@ menu "Nios II architecture"
depends on NIOS2
config SYS_ARCH
string
default "nios2"
choice

View File

@ -2,7 +2,6 @@ menu "OpenRISC architecture"
depends on OPENRISC
config SYS_ARCH
string
default "openrisc"
choice

View File

@ -2,7 +2,6 @@ menu "PowerPC architecture"
depends on PPC
config SYS_ARCH
string
default "powerpc"
choice

View File

@ -2,7 +2,6 @@ menu "74xx_7xx CPU"
depends on 74xx_7xx
config SYS_CPU
string
default "74xx_7xx"
choice

View File

@ -2,7 +2,6 @@ menu "mpc512x CPU"
depends on MPC512X
config SYS_CPU
string
default "mpc512x"
choice

View File

@ -2,7 +2,6 @@ menu "mpc5xx CPU"
depends on 5xx
config SYS_CPU
string
default "mpc5xx"
choice

View File

@ -2,7 +2,6 @@ menu "mpc5xxx CPU"
depends on MPC5xxx
config SYS_CPU
string
default "mpc5xxx"
choice

View File

@ -2,7 +2,6 @@ menu "mpc824x CPU"
depends on MPC824X
config SYS_CPU
string
default "mpc824x"
choice

View File

@ -2,7 +2,6 @@ menu "mpc8260 CPU"
depends on MPC8260
config SYS_CPU
string
default "mpc8260"
choice

View File

@ -2,7 +2,6 @@ menu "mpc83xx CPU"
depends on MPC83xx
config SYS_CPU
string
default "mpc83xx"
choice

View File

@ -2,7 +2,6 @@ menu "mpc85xx CPU"
depends on MPC85xx
config SYS_CPU
string
default "mpc85xx"
choice

View File

@ -2,7 +2,6 @@ menu "mpc86xx CPU"
depends on MPC86xx
config SYS_CPU
string
default "mpc86xx"
choice

View File

@ -2,7 +2,6 @@ menu "mpc8xx CPU"
depends on 8xx
config SYS_CPU
string
default "mpc8xx"
choice

View File

@ -2,7 +2,6 @@ menu "ppc4xx CPU"
depends on 4xx
config SYS_CPU
string
default "ppc4xx"
choice

View File

@ -2,15 +2,12 @@ menu "Sandbox architecture"
depends on SANDBOX
config SYS_ARCH
string
default "sandbox"
config SYS_BOARD
string
default "sandbox"
config SYS_CONFIG_NAME
string
default "sandbox"
endmenu

View File

@ -2,7 +2,6 @@ menu "SuperH architecture"
depends on SH
config SYS_ARCH
string
default "sh"
choice

View File

@ -2,7 +2,6 @@ menu "SPARC architecture"
depends on SPARC
config SYS_ARCH
string
default "sparc"
choice

View File

@ -2,7 +2,6 @@ menu "x86 architecture"
depends on X86
config SYS_ARCH
string
default "x86"
choice

View File

@ -1,15 +1,12 @@
if TARGET_ECO5PK
config SYS_BOARD
string
default "eco5pk"
config SYS_VENDOR
string
default "8dtech"
config SYS_CONFIG_NAME
string
default "eco5pk"
endif

View File

@ -1,23 +1,18 @@
if TARGET_ADP_AG101
config SYS_CPU
string
default "n1213"
config SYS_BOARD
string
default "adp-ag101"
config SYS_VENDOR
string
default "AndesTech"
config SYS_SOC
string
default "ag101"
config SYS_CONFIG_NAME
string
default "adp-ag101"
endif

View File

@ -1,23 +1,18 @@
if TARGET_ADP_AG101P
config SYS_CPU
string
default "n1213"
config SYS_BOARD
string
default "adp-ag101p"
config SYS_VENDOR
string
default "AndesTech"
config SYS_SOC
string
default "ag101"
config SYS_CONFIG_NAME
string
default "adp-ag101p"
endif

View File

@ -1,23 +1,18 @@
if TARGET_ADP_AG102
config SYS_CPU
string
default "n1213"
config SYS_BOARD
string
default "adp-ag102"
config SYS_VENDOR
string
default "AndesTech"
config SYS_SOC
string
default "ag102"
config SYS_CONFIG_NAME
string
default "adp-ag102"
endif

View File

@ -1,15 +1,12 @@
if TARGET_IPAM390
config SYS_BOARD
string
default "ipam390"
config SYS_VENDOR
string
default "Barix"
config SYS_CONFIG_NAME
string
default "ipam390"
endif

View File

@ -1,23 +1,18 @@
if TARGET_KWB
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "kwb"
config SYS_VENDOR
string
default "BuR"
config SYS_SOC
string
default "am33xx"
config SYS_CONFIG_NAME
string
default "kwb"
endif

View File

@ -1,23 +1,18 @@
if TARGET_TSERIES
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "tseries"
config SYS_VENDOR
string
default "BuR"
config SYS_SOC
string
default "am33xx"
config SYS_CONFIG_NAME
string
default "tseries"
endif

View File

@ -1,19 +1,15 @@
if TARGET_EB_CPU5282
config SYS_CPU
string
default "mcf52x2"
config SYS_BOARD
string
default "eb_cpu5282"
config SYS_VENDOR
string
default "BuS"
config SYS_CONFIG_NAME
string
default "eb_cpu5282"
endif

View File

@ -1,23 +1,18 @@
if TARGET_EB_CPUX9K2
config SYS_CPU
string
default "arm920t"
config SYS_BOARD
string
default "eb_cpux9k2"
config SYS_VENDOR
string
default "BuS"
config SYS_SOC
string
default "at91"
config SYS_CONFIG_NAME
string
default "eb_cpux9k2"
endif

View File

@ -1,23 +1,18 @@
if TARGET_VL_MA2SC
config SYS_CPU
string
default "arm926ejs"
config SYS_BOARD
string
default "vl_ma2sc"
config SYS_VENDOR
string
default "BuS"
config SYS_SOC
string
default "at91"
config SYS_CONFIG_NAME
string
default "vl_ma2sc"
endif

View File

@ -1,23 +1,18 @@
if TARGET_FLEA3
config SYS_CPU
string
default "arm1136"
config SYS_BOARD
string
default "flea3"
config SYS_VENDOR
string
default "CarMediaLab"
config SYS_SOC
string
default "mx35"
config SYS_CONFIG_NAME
string
default "flea3"
endif

View File

@ -1,15 +1,12 @@
if TARGET_ELPT860
config SYS_BOARD
string
default "elpt860"
config SYS_VENDOR
string
default "LEOX"
config SYS_CONFIG_NAME
string
default "ELPT860"
endif

View File

@ -1,15 +1,12 @@
if TARGET_EDMINIV2
config SYS_BOARD
string
default "edminiv2"
config SYS_VENDOR
string
default "LaCie"
config SYS_CONFIG_NAME
string
default "edminiv2"
endif

View File

@ -1,15 +1,12 @@
if TARGET_NET2BIG_V2
config SYS_BOARD
string
default "net2big_v2"
config SYS_VENDOR
string
default "LaCie"
config SYS_CONFIG_NAME
string
default "lacie_kw"
endif

View File

@ -1,15 +1,12 @@
if TARGET_NETSPACE_V2
config SYS_BOARD
string
default "netspace_v2"
config SYS_VENDOR
string
default "LaCie"
config SYS_CONFIG_NAME
string
default "lacie_kw"
endif

View File

@ -1,15 +1,12 @@
if TARGET_WIRELESS_SPACE
config SYS_BOARD
string
default "wireless_space"
config SYS_VENDOR
string
default "LaCie"
config SYS_CONFIG_NAME
string
default "wireless_space"
endif

View File

@ -1,23 +1,18 @@
if TARGET_ASPENITE
config SYS_CPU
string
default "arm926ejs"
config SYS_BOARD
string
default "aspenite"
config SYS_VENDOR
string
default "Marvell"
config SYS_SOC
string
default "armada100"
config SYS_CONFIG_NAME
string
default "aspenite"
endif

View File

@ -1,15 +1,12 @@
if TARGET_DB64360
config SYS_BOARD
string
default "db64360"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "DB64360"
endif

View File

@ -1,15 +1,12 @@
if TARGET_DB64460
config SYS_BOARD
string
default "db64460"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "DB64460"
endif

View File

@ -1,23 +1,18 @@
if TARGET_DKB
config SYS_CPU
string
default "arm926ejs"
config SYS_BOARD
string
default "dkb"
config SYS_VENDOR
string
default "Marvell"
config SYS_SOC
string
default "pantheon"
config SYS_CONFIG_NAME
string
default "dkb"
endif

View File

@ -1,15 +1,12 @@
if TARGET_DREAMPLUG
config SYS_BOARD
string
default "dreamplug"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "dreamplug"
endif

View File

@ -1,23 +1,18 @@
if TARGET_GPLUGD
config SYS_CPU
string
default "arm926ejs"
config SYS_BOARD
string
default "gplugd"
config SYS_VENDOR
string
default "Marvell"
config SYS_SOC
string
default "armada100"
config SYS_CONFIG_NAME
string
default "gplugd"
endif

View File

@ -1,15 +1,12 @@
if TARGET_GURUPLUG
config SYS_BOARD
string
default "guruplug"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "guruplug"
endif

View File

@ -1,15 +1,12 @@
if TARGET_MV88F6281GTW_GE
config SYS_BOARD
string
default "mv88f6281gtw_ge"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "mv88f6281gtw_ge"
endif

View File

@ -1,15 +1,12 @@
if TARGET_OPENRD
config SYS_BOARD
string
default "openrd"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "openrd"
endif

View File

@ -1,15 +1,12 @@
if TARGET_RD6281A
config SYS_BOARD
string
default "rd6281a"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "rd6281a"
endif

View File

@ -1,15 +1,12 @@
if TARGET_SHEEVAPLUG
config SYS_BOARD
string
default "sheevaplug"
config SYS_VENDOR
string
default "Marvell"
config SYS_CONFIG_NAME
string
default "sheevaplug"
endif

View File

@ -1,11 +1,9 @@
if TARGET_RRVISION
config SYS_BOARD
string
default "RRvision"
config SYS_CONFIG_NAME
string
default "RRvision"
endif

View File

@ -1,15 +1,12 @@
if TARGET_DOCKSTAR
config SYS_BOARD
string
default "dockstar"
config SYS_VENDOR
string
default "Seagate"
config SYS_CONFIG_NAME
string
default "dockstar"
endif

View File

@ -1,15 +1,12 @@
if TARGET_GOFLEXHOME
config SYS_BOARD
string
default "goflexhome"
config SYS_VENDOR
string
default "Seagate"
config SYS_CONFIG_NAME
string
default "goflexhome"
endif

View File

@ -1,11 +1,9 @@
if TARGET_A3000
config SYS_BOARD
string
default "a3000"
config SYS_CONFIG_NAME
string
default "A3000"
endif

View File

@ -1,11 +1,9 @@
if TARGET_A3M071
config SYS_BOARD
string
default "a3m071"
config SYS_CONFIG_NAME
string
default "a3m071"
endif

View File

@ -1,11 +1,9 @@
if TARGET_A4M072
config SYS_BOARD
string
default "a4m072"
config SYS_CONFIG_NAME
string
default "a4m072"
endif

View File

@ -1,19 +1,15 @@
if TARGET_TB100
config SYS_CPU
string
default "arc700"
config SYS_BOARD
string
default "tb100"
config SYS_VENDOR
string
default "abilis"
config SYS_CONFIG_NAME
string
default "tb100"
endif

View File

@ -1,19 +1,15 @@
if TARGET_AFEB9260
config SYS_CPU
string
default "arm926ejs"
config SYS_BOARD
string
default "afeb9260"
config SYS_SOC
string
default "at91"
config SYS_CONFIG_NAME
string
default "afeb9260"
endif

View File

@ -1,15 +1,12 @@
if TARGET_CAM_ENC_4XX
config SYS_BOARD
string
default "cam_enc_4xx"
config SYS_VENDOR
string
default "ait"
config SYS_CONFIG_NAME
string
default "cam_enc_4xx"
endif

View File

@ -1,19 +1,15 @@
if TARGET_AP_SH4A_4A
config SYS_CPU
string
default "sh4"
config SYS_BOARD
string
default "ap_sh4a_4a"
config SYS_VENDOR
string
default "alphaproject"
config SYS_CONFIG_NAME
string
default "ap_sh4a_4a"
endif

View File

@ -1,15 +1,12 @@
if TARGET_NIOS2_GENERIC
config SYS_BOARD
string
default "nios2-generic"
config SYS_VENDOR
string
default "altera"
config SYS_CONFIG_NAME
string
default "nios2-generic"
endif

View File

@ -1,23 +1,18 @@
if TARGET_SOCFPGA_CYCLONE5
config SYS_CPU
string
default "armv7"
config SYS_BOARD
string
default "socfpga"
config SYS_VENDOR
string
default "altera"
config SYS_SOC
string
default "socfpga"
config SYS_CONFIG_NAME
string
default "socfpga_cyclone5"
endif

View File

@ -1,15 +1,12 @@
if TARGET_ACADIA
config SYS_BOARD
string
default "acadia"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "acadia"
endif

View File

@ -1,15 +1,12 @@
if TARGET_BAMBOO
config SYS_BOARD
string
default "bamboo"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "bamboo"
endif

View File

@ -1,15 +1,12 @@
if TARGET_BLUESTONE
config SYS_BOARD
string
default "bluestone"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "bluestone"
endif

View File

@ -1,15 +1,12 @@
if TARGET_BUBINGA
config SYS_BOARD
string
default "bubinga"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "bubinga"
endif

View File

@ -1,15 +1,12 @@
if TARGET_CANYONLANDS
config SYS_BOARD
string
default "canyonlands"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "canyonlands"
endif

View File

@ -1,15 +1,12 @@
if TARGET_EBONY
config SYS_BOARD
string
default "ebony"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "ebony"
endif

View File

@ -1,15 +1,12 @@
if TARGET_KATMAI
config SYS_BOARD
string
default "katmai"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "katmai"
endif

View File

@ -1,15 +1,12 @@
if TARGET_KILAUEA
config SYS_BOARD
string
default "kilauea"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "kilauea"
endif

View File

@ -1,15 +1,12 @@
if TARGET_LUAN
config SYS_BOARD
string
default "luan"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "luan"
endif

View File

@ -1,15 +1,12 @@
if TARGET_MAKALU
config SYS_BOARD
string
default "makalu"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "makalu"
endif

View File

@ -1,15 +1,12 @@
if TARGET_OCOTEA
config SYS_BOARD
string
default "ocotea"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "ocotea"
endif

View File

@ -1,15 +1,12 @@
if TARGET_REDWOOD
config SYS_BOARD
string
default "redwood"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "redwood"
endif

View File

@ -1,15 +1,12 @@
if TARGET_SEQUOIA
config SYS_BOARD
string
default "sequoia"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "sequoia"
endif

View File

@ -1,15 +1,12 @@
if TARGET_TAIHU
config SYS_BOARD
string
default "taihu"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "taihu"
endif

View File

@ -1,15 +1,12 @@
if TARGET_TAISHAN
config SYS_BOARD
string
default "taishan"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "taishan"
endif

View File

@ -1,15 +1,12 @@
if TARGET_WALNUT
config SYS_BOARD
string
default "walnut"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "walnut"
endif

View File

@ -1,15 +1,12 @@
if TARGET_YOSEMITE
config SYS_BOARD
string
default "yosemite"
config SYS_VENDOR
string
default "amcc"
config SYS_CONFIG_NAME
string
default "yosemite"
endif

Some files were not shown because too many files have changed in this diff Show More