From 461be2f96e4b87e5065208c6659a47dd0ad9e9f8 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 14 Sep 2014 03:01:49 +0900 Subject: 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 --- board/tqc/tqm5200/Kconfig | 12 ----------- board/tqc/tqm8260/Kconfig | 3 --- board/tqc/tqm8272/Kconfig | 3 --- board/tqc/tqm834x/Kconfig | 3 --- board/tqc/tqm8xx/Kconfig | 54 ----------------------------------------------- board/tqc/tqma6/Kconfig | 5 ----- 6 files changed, 80 deletions(-) (limited to 'board/tqc') diff --git a/board/tqc/tqm5200/Kconfig b/board/tqc/tqm5200/Kconfig index c692196..0e4cd69 100644 --- a/board/tqc/tqm5200/Kconfig +++ b/board/tqc/tqm5200/Kconfig @@ -1,15 +1,12 @@ if TARGET_AEV config SYS_BOARD - string default "tqm5200" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "aev" endif @@ -17,15 +14,12 @@ endif if TARGET_CHARON config SYS_BOARD - string default "tqm5200" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "charon" endif @@ -33,15 +27,12 @@ endif if TARGET_TB5200 config SYS_BOARD - string default "tqm5200" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TB5200" endif @@ -49,15 +40,12 @@ endif if TARGET_TQM5200 config SYS_BOARD - string default "tqm5200" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM5200" endif diff --git a/board/tqc/tqm8260/Kconfig b/board/tqc/tqm8260/Kconfig index 0cf80dd..90a96eb 100644 --- a/board/tqc/tqm8260/Kconfig +++ b/board/tqc/tqm8260/Kconfig @@ -1,15 +1,12 @@ if TARGET_TQM8260 config SYS_BOARD - string default "tqm8260" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM8260" endif diff --git a/board/tqc/tqm8272/Kconfig b/board/tqc/tqm8272/Kconfig index 9be43d3..7b5cd8b 100644 --- a/board/tqc/tqm8272/Kconfig +++ b/board/tqc/tqm8272/Kconfig @@ -1,15 +1,12 @@ if TARGET_TQM8272 config SYS_BOARD - string default "tqm8272" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM8272" endif diff --git a/board/tqc/tqm834x/Kconfig b/board/tqc/tqm834x/Kconfig index cd2e817..028b846 100644 --- a/board/tqc/tqm834x/Kconfig +++ b/board/tqc/tqm834x/Kconfig @@ -1,15 +1,12 @@ if TARGET_TQM834X config SYS_BOARD - string default "tqm834x" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM834x" endif diff --git a/board/tqc/tqm8xx/Kconfig b/board/tqc/tqm8xx/Kconfig index 5700d22..926a37a 100644 --- a/board/tqc/tqm8xx/Kconfig +++ b/board/tqc/tqm8xx/Kconfig @@ -1,15 +1,12 @@ if TARGET_FPS850L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "FPS850L" endif @@ -17,15 +14,12 @@ endif if TARGET_FPS860L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "FPS860L" endif @@ -33,15 +27,12 @@ endif if TARGET_NSCU config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "NSCU" endif @@ -49,15 +40,12 @@ endif if TARGET_SM850 config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "SM850" endif @@ -65,15 +53,12 @@ endif if TARGET_TK885D config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TK885D" endif @@ -81,15 +66,12 @@ endif if TARGET_TQM823L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM823L" endif @@ -97,15 +79,12 @@ endif if TARGET_TQM823M config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM823M" endif @@ -113,15 +92,12 @@ endif if TARGET_TQM850L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM850L" endif @@ -129,15 +105,12 @@ endif if TARGET_TQM850M config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM850M" endif @@ -145,15 +118,12 @@ endif if TARGET_TQM855L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM855L" endif @@ -161,15 +131,12 @@ endif if TARGET_TQM855M config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM855M" endif @@ -177,15 +144,12 @@ endif if TARGET_TQM860L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM860L" endif @@ -193,15 +157,12 @@ endif if TARGET_TQM860M config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM860M" endif @@ -209,15 +170,12 @@ endif if TARGET_TQM862L config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM862L" endif @@ -225,15 +183,12 @@ endif if TARGET_TQM862M config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM862M" endif @@ -241,15 +196,12 @@ endif if TARGET_TQM866M config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM866M" endif @@ -257,15 +209,12 @@ endif if TARGET_TQM885D config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "TQM885D" endif @@ -273,15 +222,12 @@ endif if TARGET_VIRTLAB2 config SYS_BOARD - string default "tqm8xx" config SYS_VENDOR - string default "tqc" config SYS_CONFIG_NAME - string default "virtlab2" endif diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig index 44b4142..b70cbf0 100644 --- a/board/tqc/tqma6/Kconfig +++ b/board/tqc/tqma6/Kconfig @@ -1,23 +1,18 @@ if TARGET_TQMA6 config SYS_CPU - string default "armv7" config SYS_BOARD - string default "tqma6" config SYS_VENDOR - string default "tqc" config SYS_SOC - string default "mx6" config SYS_CONFIG_NAME - string default "tqma6" endif -- cgit v1.1