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/gaisler/gr_cpci_ax2000/Kconfig | 4 ---- board/gaisler/gr_ep2s60/Kconfig | 4 ---- board/gaisler/gr_xc3s_1500/Kconfig | 4 ---- board/gaisler/grsim/Kconfig | 4 ---- board/gaisler/grsim_leon2/Kconfig | 4 ---- 5 files changed, 20 deletions(-) (limited to 'board/gaisler') diff --git a/board/gaisler/gr_cpci_ax2000/Kconfig b/board/gaisler/gr_cpci_ax2000/Kconfig index d5a2eb4..8da0504 100644 --- a/board/gaisler/gr_cpci_ax2000/Kconfig +++ b/board/gaisler/gr_cpci_ax2000/Kconfig @@ -1,19 +1,15 @@ if TARGET_GR_CPCI_AX2000 config SYS_CPU - string default "leon3" config SYS_BOARD - string default "gr_cpci_ax2000" config SYS_VENDOR - string default "gaisler" config SYS_CONFIG_NAME - string default "gr_cpci_ax2000" endif diff --git a/board/gaisler/gr_ep2s60/Kconfig b/board/gaisler/gr_ep2s60/Kconfig index e742ea8..00b2097 100644 --- a/board/gaisler/gr_ep2s60/Kconfig +++ b/board/gaisler/gr_ep2s60/Kconfig @@ -1,19 +1,15 @@ if TARGET_GR_EP2S60 config SYS_CPU - string default "leon3" config SYS_BOARD - string default "gr_ep2s60" config SYS_VENDOR - string default "gaisler" config SYS_CONFIG_NAME - string default "gr_ep2s60" endif diff --git a/board/gaisler/gr_xc3s_1500/Kconfig b/board/gaisler/gr_xc3s_1500/Kconfig index 6d9f107..765e028 100644 --- a/board/gaisler/gr_xc3s_1500/Kconfig +++ b/board/gaisler/gr_xc3s_1500/Kconfig @@ -1,19 +1,15 @@ if TARGET_GR_XC3S_1500 config SYS_CPU - string default "leon3" config SYS_BOARD - string default "gr_xc3s_1500" config SYS_VENDOR - string default "gaisler" config SYS_CONFIG_NAME - string default "gr_xc3s_1500" endif diff --git a/board/gaisler/grsim/Kconfig b/board/gaisler/grsim/Kconfig index 10f51e1..751fa03 100644 --- a/board/gaisler/grsim/Kconfig +++ b/board/gaisler/grsim/Kconfig @@ -1,19 +1,15 @@ if TARGET_GRSIM config SYS_CPU - string default "leon3" config SYS_BOARD - string default "grsim" config SYS_VENDOR - string default "gaisler" config SYS_CONFIG_NAME - string default "grsim" endif diff --git a/board/gaisler/grsim_leon2/Kconfig b/board/gaisler/grsim_leon2/Kconfig index 8dd2d27..0907f3a 100644 --- a/board/gaisler/grsim_leon2/Kconfig +++ b/board/gaisler/grsim_leon2/Kconfig @@ -1,19 +1,15 @@ if TARGET_GRSIM_LEON2 config SYS_CPU - string default "leon2" config SYS_BOARD - string default "grsim_leon2" config SYS_VENDOR - string default "gaisler" config SYS_CONFIG_NAME - string default "grsim_leon2" endif -- cgit v1.1