summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-09-14 03:01:51 +0900
committerTom Rini <trini@ti.com>2014-09-16 12:24:00 -0400
commit016a954ee9df23def65db24af9dabf4928d6919c (patch)
tree4c5e8caeed5501ca5a7343714ce1282c0230c06f
parent8813fdaf4bb6ee6bae4574c42c115fc91915c919 (diff)
downloadtalos-obmc-uboot-016a954ee9df23def65db24af9dabf4928d6919c.tar.gz
talos-obmc-uboot-016a954ee9df23def65db24af9dabf4928d6919c.zip
kconfig: armv8: move CONFIG_ARM64 to Kconfig
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-rw-r--r--arch/arm/Kconfig8
-rw-r--r--arch/arm/cpu/armv8/Kconfig6
-rw-r--r--board/armltd/vexpress64/Kconfig3
-rw-r--r--board/freescale/ls2085a/Kconfig6
-rw-r--r--configs/ls2085a_emu_D4_defconfig2
-rw-r--r--configs/ls2085a_emu_defconfig2
-rw-r--r--configs/ls2085a_simu_defconfig2
-rw-r--r--configs/vexpress_aemv8a_defconfig1
-rw-r--r--configs/vexpress_aemv8a_semi_defconfig2
9 files changed, 18 insertions, 14 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 88c7eaa861..aaf800fb48 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -4,6 +4,9 @@ menu "ARM architecture"
config SYS_ARCH
default "arm"
+config ARM64
+ bool
+
choice
prompt "Target select"
@@ -459,12 +462,15 @@ config TEGRA
config TARGET_VEXPRESS_AEMV8A
bool "Support vexpress_aemv8a"
+ select ARM64
config TARGET_LS2085A_EMU
bool "Support ls2085a_emu"
+ select ARM64
config TARGET_LS2085A_SIMU
bool "Support ls2085a_simu"
+ select ARM64
config TARGET_LS1021AQDS
bool "Support ls1021aqds_nor"
@@ -513,6 +519,8 @@ config TARGET_JORNADA
endchoice
+source "arch/arm/cpu/armv8/Kconfig"
+
source "arch/arm/cpu/arm926ejs/davinci/Kconfig"
source "arch/arm/cpu/armv7/exynos/Kconfig"
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
new file mode 100644
index 0000000000..3d1655bd5c
--- /dev/null
+++ b/arch/arm/cpu/armv8/Kconfig
@@ -0,0 +1,6 @@
+if ARM64
+
+config SYS_CPU
+ default "armv8"
+
+endif
diff --git a/board/armltd/vexpress64/Kconfig b/board/armltd/vexpress64/Kconfig
index 939e6ad1f8..7ebea6317f 100644
--- a/board/armltd/vexpress64/Kconfig
+++ b/board/armltd/vexpress64/Kconfig
@@ -1,8 +1,5 @@
if TARGET_VEXPRESS_AEMV8A
-config SYS_CPU
- default "armv8"
-
config SYS_BOARD
default "vexpress64"
diff --git a/board/freescale/ls2085a/Kconfig b/board/freescale/ls2085a/Kconfig
index 798b491dcc..f51afc8234 100644
--- a/board/freescale/ls2085a/Kconfig
+++ b/board/freescale/ls2085a/Kconfig
@@ -1,8 +1,5 @@
if TARGET_LS2085A_EMU
-config SYS_CPU
- default "armv8"
-
config SYS_BOARD
default "ls2085a"
@@ -19,9 +16,6 @@ endif
if TARGET_LS2085A_SIMU
-config SYS_CPU
- default "armv8"
-
config SYS_BOARD
default "ls2085a"
diff --git a/configs/ls2085a_emu_D4_defconfig b/configs/ls2085a_emu_D4_defconfig
index f2f6882c99..0bc36ed0b0 100644
--- a/configs/ls2085a_emu_D4_defconfig
+++ b/configs/ls2085a_emu_D4_defconfig
@@ -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_TARGET_LS2085A_EMU=y
diff --git a/configs/ls2085a_emu_defconfig b/configs/ls2085a_emu_defconfig
index 51ffa56a4c..a2efec3ccf 100644
--- a/configs/ls2085a_emu_defconfig
+++ b/configs/ls2085a_emu_defconfig
@@ -1,3 +1,3 @@
-CONFIG_SYS_EXTRA_OPTIONS="ARM64,EMU"
+CONFIG_SYS_EXTRA_OPTIONS="EMU"
CONFIG_ARM=y
CONFIG_TARGET_LS2085A_EMU=y
diff --git a/configs/ls2085a_simu_defconfig b/configs/ls2085a_simu_defconfig
index efa8e74548..7563a7546e 100644
--- a/configs/ls2085a_simu_defconfig
+++ b/configs/ls2085a_simu_defconfig
@@ -1,3 +1,3 @@
-CONFIG_SYS_EXTRA_OPTIONS="ARM64,SIMU"
+CONFIG_SYS_EXTRA_OPTIONS="SIMU"
CONFIG_ARM=y
CONFIG_TARGET_LS2085A_SIMU=y
diff --git a/configs/vexpress_aemv8a_defconfig b/configs/vexpress_aemv8a_defconfig
index a335abcf78..9e0a1755a0 100644
--- a/configs/vexpress_aemv8a_defconfig
+++ b/configs/vexpress_aemv8a_defconfig
@@ -1,3 +1,2 @@
-CONFIG_SYS_EXTRA_OPTIONS="ARM64"
CONFIG_ARM=y
CONFIG_TARGET_VEXPRESS_AEMV8A=y
diff --git a/configs/vexpress_aemv8a_semi_defconfig b/configs/vexpress_aemv8a_semi_defconfig
index 24b868c68e..8fdf4e0fab 100644
--- a/configs/vexpress_aemv8a_semi_defconfig
+++ b/configs/vexpress_aemv8a_semi_defconfig
@@ -1,3 +1,3 @@
-CONFIG_SYS_EXTRA_OPTIONS="ARM64,SEMIHOSTING,BASE_FVP"
+CONFIG_SYS_EXTRA_OPTIONS="SEMIHOSTING,BASE_FVP"
CONFIG_ARM=y
CONFIG_TARGET_VEXPRESS_AEMV8A=y
OpenPOWER on IntegriCloud