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/ifm/ac14xx/Kconfig | 3 --- board/ifm/o2dnt2/Kconfig | 18 ------------------ 2 files changed, 21 deletions(-) (limited to 'board/ifm') diff --git a/board/ifm/ac14xx/Kconfig b/board/ifm/ac14xx/Kconfig index 0772d57..97e80d5 100644 --- a/board/ifm/ac14xx/Kconfig +++ b/board/ifm/ac14xx/Kconfig @@ -1,15 +1,12 @@ if TARGET_AC14XX config SYS_BOARD - string default "ac14xx" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "ac14xx" endif diff --git a/board/ifm/o2dnt2/Kconfig b/board/ifm/o2dnt2/Kconfig index 53e9c0f..e9d32dd 100644 --- a/board/ifm/o2dnt2/Kconfig +++ b/board/ifm/o2dnt2/Kconfig @@ -1,15 +1,12 @@ if TARGET_O2D config SYS_BOARD - string default "o2dnt2" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "o2d" endif @@ -17,15 +14,12 @@ endif if TARGET_O2D300 config SYS_BOARD - string default "o2dnt2" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "o2d300" endif @@ -33,15 +27,12 @@ endif if TARGET_O2DNT2 config SYS_BOARD - string default "o2dnt2" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "o2dnt2" endif @@ -49,15 +40,12 @@ endif if TARGET_O2I config SYS_BOARD - string default "o2dnt2" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "o2i" endif @@ -65,15 +53,12 @@ endif if TARGET_O2MNT config SYS_BOARD - string default "o2dnt2" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "o2mnt" endif @@ -81,15 +66,12 @@ endif if TARGET_O3DNT config SYS_BOARD - string default "o2dnt2" config SYS_VENDOR - string default "ifm" config SYS_CONFIG_NAME - string default "o3dnt" endif -- cgit v1.1