sunxi: Kconfig: move common settings into a shared code block
SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move them to a shared code block. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
parent
b9fb3b94cb
commit
6ae66f2e89
|
|
@ -1,17 +1,5 @@
|
||||||
if TARGET_SUN4I
|
if TARGET_SUN4I
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
string
|
|
||||||
default "armv7"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
|
||||||
string
|
|
||||||
default "sunxi"
|
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
string
|
|
||||||
default "sunxi"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
string
|
string
|
||||||
default "sun4i"
|
default "sun4i"
|
||||||
|
|
@ -20,18 +8,6 @@ endif
|
||||||
|
|
||||||
if TARGET_SUN5I
|
if TARGET_SUN5I
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
string
|
|
||||||
default "armv7"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
|
||||||
string
|
|
||||||
default "sunxi"
|
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
string
|
|
||||||
default "sunxi"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
string
|
string
|
||||||
default "sun5i"
|
default "sun5i"
|
||||||
|
|
@ -40,6 +16,14 @@ endif
|
||||||
|
|
||||||
if TARGET_SUN7I
|
if TARGET_SUN7I
|
||||||
|
|
||||||
|
config SYS_CONFIG_NAME
|
||||||
|
string
|
||||||
|
default "sun7i"
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN7I
|
||||||
|
|
||||||
config SYS_CPU
|
config SYS_CPU
|
||||||
string
|
string
|
||||||
default "armv7"
|
default "armv7"
|
||||||
|
|
@ -52,8 +36,4 @@ config SYS_SOC
|
||||||
string
|
string
|
||||||
default "sunxi"
|
default "sunxi"
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
|
||||||
string
|
|
||||||
default "sun7i"
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue