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/compulab/cm_t335/Kconfig | 5 ----- board/compulab/cm_t35/Kconfig | 3 --- board/compulab/cm_t54/Kconfig | 3 --- board/compulab/trimslice/Kconfig | 3 --- 4 files changed, 14 deletions(-) (limited to 'board/compulab') diff --git a/board/compulab/cm_t335/Kconfig b/board/compulab/cm_t335/Kconfig index 4a1adf3..6115976 100644 --- a/board/compulab/cm_t335/Kconfig +++ b/board/compulab/cm_t335/Kconfig @@ -1,23 +1,18 @@ if TARGET_CM_T335 config SYS_CPU - string default "armv7" config SYS_BOARD - string default "cm_t335" config SYS_VENDOR - string default "compulab" config SYS_SOC - string default "am33xx" config SYS_CONFIG_NAME - string default "cm_t335" endif diff --git a/board/compulab/cm_t35/Kconfig b/board/compulab/cm_t35/Kconfig index 06de692..d87741f 100644 --- a/board/compulab/cm_t35/Kconfig +++ b/board/compulab/cm_t35/Kconfig @@ -1,15 +1,12 @@ if TARGET_CM_T35 config SYS_BOARD - string default "cm_t35" config SYS_VENDOR - string default "compulab" config SYS_CONFIG_NAME - string default "cm_t35" endif diff --git a/board/compulab/cm_t54/Kconfig b/board/compulab/cm_t54/Kconfig index 0edab5c..52d3880 100644 --- a/board/compulab/cm_t54/Kconfig +++ b/board/compulab/cm_t54/Kconfig @@ -1,15 +1,12 @@ if TARGET_CM_T54 config SYS_BOARD - string default "cm_t54" config SYS_VENDOR - string default "compulab" config SYS_CONFIG_NAME - string default "cm_t54" endif diff --git a/board/compulab/trimslice/Kconfig b/board/compulab/trimslice/Kconfig index 6ae030c..3576914 100644 --- a/board/compulab/trimslice/Kconfig +++ b/board/compulab/trimslice/Kconfig @@ -1,15 +1,12 @@ if TARGET_TRIMSLICE config SYS_BOARD - string default "trimslice" config SYS_VENDOR - string default "compulab" config SYS_CONFIG_NAME - string default "trimslice" endif -- cgit v1.1