kconfig: armv8: move CONFIG_ARM64 to Kconfig

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
Masahiro Yamada 2014-09-14 03:01:51 +09:00 committed by Tom Rini
parent 8813fdaf4b
commit 016a954ee9
9 changed files with 18 additions and 14 deletions

View file

@ -4,6 +4,9 @@ menu "ARM architecture"
config SYS_ARCH config SYS_ARCH
default "arm" default "arm"
config ARM64
bool
choice choice
prompt "Target select" prompt "Target select"
@ -459,12 +462,15 @@ config TEGRA
config TARGET_VEXPRESS_AEMV8A config TARGET_VEXPRESS_AEMV8A
bool "Support vexpress_aemv8a" bool "Support vexpress_aemv8a"
select ARM64
config TARGET_LS2085A_EMU config TARGET_LS2085A_EMU
bool "Support ls2085a_emu" bool "Support ls2085a_emu"
select ARM64
config TARGET_LS2085A_SIMU config TARGET_LS2085A_SIMU
bool "Support ls2085a_simu" bool "Support ls2085a_simu"
select ARM64
config TARGET_LS1021AQDS config TARGET_LS1021AQDS
bool "Support ls1021aqds_nor" bool "Support ls1021aqds_nor"
@ -513,6 +519,8 @@ config TARGET_JORNADA
endchoice endchoice
source "arch/arm/cpu/armv8/Kconfig"
source "arch/arm/cpu/arm926ejs/davinci/Kconfig" source "arch/arm/cpu/arm926ejs/davinci/Kconfig"
source "arch/arm/cpu/armv7/exynos/Kconfig" source "arch/arm/cpu/armv7/exynos/Kconfig"

View file

@ -0,0 +1,6 @@
if ARM64
config SYS_CPU
default "armv8"
endif

View file

@ -1,8 +1,5 @@
if TARGET_VEXPRESS_AEMV8A if TARGET_VEXPRESS_AEMV8A
config SYS_CPU
default "armv8"
config SYS_BOARD config SYS_BOARD
default "vexpress64" default "vexpress64"

View file

@ -1,8 +1,5 @@
if TARGET_LS2085A_EMU if TARGET_LS2085A_EMU
config SYS_CPU
default "armv8"
config SYS_BOARD config SYS_BOARD
default "ls2085a" default "ls2085a"
@ -19,9 +16,6 @@ endif
if TARGET_LS2085A_SIMU if TARGET_LS2085A_SIMU
config SYS_CPU
default "armv8"
config SYS_BOARD config SYS_BOARD
default "ls2085a" default "ls2085a"

View file

@ -1,3 +1,3 @@
CONFIG_SYS_EXTRA_OPTIONS="ARM64,EMU,SYS_FSL_DDR4" CONFIG_SYS_EXTRA_OPTIONS="EMU,SYS_FSL_DDR4"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_LS2085A_EMU=y CONFIG_TARGET_LS2085A_EMU=y

View file

@ -1,3 +1,3 @@
CONFIG_SYS_EXTRA_OPTIONS="ARM64,EMU" CONFIG_SYS_EXTRA_OPTIONS="EMU"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_LS2085A_EMU=y CONFIG_TARGET_LS2085A_EMU=y

View file

@ -1,3 +1,3 @@
CONFIG_SYS_EXTRA_OPTIONS="ARM64,SIMU" CONFIG_SYS_EXTRA_OPTIONS="SIMU"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_LS2085A_SIMU=y CONFIG_TARGET_LS2085A_SIMU=y

View file

@ -1,3 +1,2 @@
CONFIG_SYS_EXTRA_OPTIONS="ARM64"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_VEXPRESS_AEMV8A=y CONFIG_TARGET_VEXPRESS_AEMV8A=y

View file

@ -1,3 +1,3 @@
CONFIG_SYS_EXTRA_OPTIONS="ARM64,SEMIHOSTING,BASE_FVP" CONFIG_SYS_EXTRA_OPTIONS="SEMIHOSTING,BASE_FVP"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_VEXPRESS_AEMV8A=y CONFIG_TARGET_VEXPRESS_AEMV8A=y