The board/SoC select menu in arch/arm/Kconfig is still cluttered. Add ARCH_INTEGRATOR into arch/arm/Kconfig and move the board select under arch/arm/mach-integrator. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Linus Walleij <linus.walleij@linaro.org>master
parent
526fcc2203
commit
5cbbd9bd0a
@ -0,0 +1,57 @@ |
||||
menu "Integrator Options" |
||||
depends on ARCH_INTEGRATOR |
||||
|
||||
choice |
||||
prompt "ARM Ltd. Integrator board select" |
||||
|
||||
config TARGET_INTEGRATORAP_CM720T |
||||
bool "Support integratorap_cm720t" |
||||
select CPU_ARM720T |
||||
|
||||
config TARGET_INTEGRATORAP_CM920T |
||||
bool "Support integratorap_cm920t" |
||||
select CPU_ARM920T |
||||
|
||||
config TARGET_INTEGRATORCP_CM920T |
||||
bool "Support integratorcp_cm920t" |
||||
select CPU_ARM920T |
||||
|
||||
config TARGET_INTEGRATORAP_CM926EJS |
||||
bool "Support integratorap_cm926ejs" |
||||
select CPU_ARM926EJS |
||||
|
||||
config TARGET_INTEGRATORCP_CM926EJS |
||||
bool "Support integratorcp_cm926ejs" |
||||
select CPU_ARM926EJS |
||||
|
||||
config TARGET_INTEGRATORCP_CM1136 |
||||
bool "Support integratorcp_cm1136" |
||||
select CPU_ARM1136 |
||||
|
||||
config TARGET_INTEGRATORAP_CM946ES |
||||
bool "Support integratorap_cm946es" |
||||
select CPU_ARM946ES |
||||
|
||||
config TARGET_INTEGRATORCP_CM946ES |
||||
bool "Support integratorcp_cm946es" |
||||
select CPU_ARM946ES |
||||
|
||||
endchoice |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorap" if TARGET_INTEGRATORAP_CM720T || \ |
||||
TARGET_INTEGRATORAP_CM920T || \ |
||||
TARGET_INTEGRATORAP_CM926EJS || \ |
||||
TARGET_INTEGRATORAP_CM946ES |
||||
default "integratorcp" if TARGET_INTEGRATORCP_CM920T || \ |
||||
TARGET_INTEGRATORCP_CM926EJS || \ |
||||
TARGET_INTEGRATORCP_CM946ES || \ |
||||
TARGET_INTEGRATORCP_CM1136 |
||||
|
||||
endmenu |
@ -1,103 +0,0 @@ |
||||
if TARGET_INTEGRATORAP_CM720T |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorap" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORAP_CM920T |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorap" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORCP_CM920T |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorcp" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORAP_CM926EJS |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorap" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORCP_CM926EJS |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorcp" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORCP_CM1136 |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorcp" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORAP_CM946ES |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorap" |
||||
|
||||
endif |
||||
|
||||
if TARGET_INTEGRATORCP_CM946ES |
||||
|
||||
config SYS_BOARD |
||||
default "integrator" |
||||
|
||||
config SYS_VENDOR |
||||
default "armltd" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "integratorcp" |
||||
|
||||
endif |
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM720T" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORAP_CM720T=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM920T" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORAP_CM920T=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM926EJ_S" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORAP_CM926EJS=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM946ES" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORAP_CM946ES=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM1136" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORCP_CM1136=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM920T" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORCP_CM920T=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM924EJ_S" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORCP_CM926EJS=y |
||||
|
@ -1,3 +1,4 @@ |
||||
CONFIG_SYS_EXTRA_OPTIONS="CM946ES" |
||||
CONFIG_ARM=y |
||||
CONFIG_ARCH_INTEGRATOR=y |
||||
CONFIG_TARGET_INTEGRATORCP_CM946ES=y |
||||
|
Loading…
Reference in new issue