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>
This commit is contained in:
committed by
Tom Rini
parent
3174e4e812
commit
461be2f96e
@@ -1,15 +1,12 @@
|
||||
if TARGET_APC405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "apc405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "APC405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_AR405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "ar405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "AR405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_ASH405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "ash405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "ASH405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_CMS700
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cms700"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CMS700"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_CPCI2DP
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci2dp"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCI2DP"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_CPCI405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCI405"
|
||||
|
||||
endif
|
||||
@@ -17,15 +14,12 @@ endif
|
||||
if TARGET_CPCI4052
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCI4052"
|
||||
|
||||
endif
|
||||
@@ -33,15 +27,12 @@ endif
|
||||
if TARGET_CPCI405AB
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCI405AB"
|
||||
|
||||
endif
|
||||
@@ -49,15 +40,12 @@ endif
|
||||
if TARGET_CPCI405DT
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCI405DT"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_CPCI5200
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci5200"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "cpci5200"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_CPCI750
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpci750"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCI750"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_CPCIISER4
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "cpciiser4"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "CPCIISER4"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_DP405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "dp405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "DP405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_DU405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "du405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "DU405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_DU440
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "du440"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "DU440"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_HH405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "hh405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "HH405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_HUB405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "hub405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "HUB405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_MECP5123
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "mecp5123"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "mecp5123"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_MECP5200
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "mecp5200"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "mecp5200"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,23 +1,18 @@
|
||||
if TARGET_MEESC
|
||||
|
||||
config SYS_CPU
|
||||
string
|
||||
default "arm926ejs"
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "meesc"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_SOC
|
||||
string
|
||||
default "at91"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "meesc"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_OCRTC
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "ocrtc"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "OCRTC"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,23 +1,18 @@
|
||||
if TARGET_OTC570
|
||||
|
||||
config SYS_CPU
|
||||
string
|
||||
default "arm926ejs"
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "otc570"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_SOC
|
||||
string
|
||||
default "at91"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "otc570"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_PCI405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "pci405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "PCI405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_PF5200
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "pf5200"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "pf5200"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_PLU405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "plu405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "PLU405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_PMC405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "pmc405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "PMC405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_PMC405DE
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "pmc405de"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "PMC405DE"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_PMC440
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "pmc440"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "PMC440"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,19 +1,15 @@
|
||||
if TARGET_TASREG
|
||||
|
||||
config SYS_CPU
|
||||
string
|
||||
default "mcf52x2"
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "tasreg"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "TASREG"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_VME8349
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "vme8349"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "vme8349"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_VOH405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "voh405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "VOH405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_VOM405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "vom405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "VOM405"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_WUH405
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "wuh405"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "esd"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "WUH405"
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user