ARM: uniphier: introduce CONFIG_ARM_UNIPHIER_{32, 64}BIT
This will make it easier to select config options specific to particular ARM processor generation. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
50862a5196
commit
48efc8a25b
|
|
@ -3,35 +3,42 @@ if ARCH_UNIPHIER
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "uniphier"
|
default "uniphier"
|
||||||
|
|
||||||
|
config ARCH_UNIPHIER_32BIT
|
||||||
|
bool
|
||||||
|
select CPU_V7
|
||||||
|
|
||||||
|
config ARCH_UNIPHIER_64BIT
|
||||||
|
bool
|
||||||
|
select ARM64
|
||||||
|
select SPL_SEPARATE_BSS
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "UniPhier SoC select"
|
prompt "UniPhier SoC select"
|
||||||
default ARCH_UNIPHIER_PRO4
|
default ARCH_UNIPHIER_PRO4
|
||||||
|
|
||||||
config ARCH_UNIPHIER_SLD3
|
config ARCH_UNIPHIER_SLD3
|
||||||
bool "UniPhier PH1-sLD3 SoC"
|
bool "UniPhier PH1-sLD3 SoC"
|
||||||
select CPU_V7
|
select ARCH_UNIPHIER_32BIT
|
||||||
|
|
||||||
config ARCH_UNIPHIER_LD4_SLD8
|
config ARCH_UNIPHIER_LD4_SLD8
|
||||||
bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
|
bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
|
||||||
select CPU_V7
|
select ARCH_UNIPHIER_32BIT
|
||||||
|
|
||||||
config ARCH_UNIPHIER_PRO4
|
config ARCH_UNIPHIER_PRO4
|
||||||
bool "UniPhier PH1-Pro4 SoC"
|
bool "UniPhier PH1-Pro4 SoC"
|
||||||
select CPU_V7
|
select ARCH_UNIPHIER_32BIT
|
||||||
|
|
||||||
config ARCH_UNIPHIER_PRO5_PXS2_LD6B
|
config ARCH_UNIPHIER_PRO5_PXS2_LD6B
|
||||||
bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
|
bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
|
||||||
select CPU_V7
|
select ARCH_UNIPHIER_32BIT
|
||||||
|
|
||||||
config ARCH_UNIPHIER_LD11
|
config ARCH_UNIPHIER_LD11
|
||||||
bool "UniPhier PH1-LD11 SoC"
|
bool "UniPhier PH1-LD11 SoC"
|
||||||
select ARM64
|
select ARCH_UNIPHIER_64BIT
|
||||||
select SPL_SEPARATE_BSS
|
|
||||||
|
|
||||||
config ARCH_UNIPHIER_LD20
|
config ARCH_UNIPHIER_LD20
|
||||||
bool "UniPhier PH1-LD20 SoC"
|
bool "UniPhier PH1-LD20 SoC"
|
||||||
select ARM64
|
select ARCH_UNIPHIER_64BIT
|
||||||
select SPL_SEPARATE_BSS
|
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue