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,23 +1,18 @@
|
||||
if TARGET_AM335X_IGEP0033
|
||||
|
||||
config SYS_CPU
|
||||
string
|
||||
default "armv7"
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "igep0033"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "isee"
|
||||
|
||||
config SYS_SOC
|
||||
string
|
||||
default "am33xx"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "am335x_igep0033"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
if TARGET_OMAP3_IGEP00X0
|
||||
|
||||
config SYS_BOARD
|
||||
string
|
||||
default "igep00x0"
|
||||
|
||||
config SYS_VENDOR
|
||||
string
|
||||
default "isee"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
string
|
||||
default "omap3_igep00x0"
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user