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>
37 lines
420 B
Plaintext
37 lines
420 B
Plaintext
if TARGET_SUN4I
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "sun4i"
|
|
|
|
endif
|
|
|
|
if TARGET_SUN5I
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "sun5i"
|
|
|
|
endif
|
|
|
|
if TARGET_SUN7I
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "sun7i"
|
|
|
|
endif
|
|
|
|
if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN7I
|
|
|
|
config SYS_CPU
|
|
default "armv7"
|
|
|
|
config SYS_BOARD
|
|
default "sunxi"
|
|
|
|
config SYS_SOC
|
|
default "sunxi"
|
|
|
|
config FDTFILE
|
|
string "Default fdtfile env setting for this board"
|
|
|
|
endif
|