public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH] ARMv8: add Kconfig and CPU_V8 option
@ 2015-02-03  9:19 fenghua at phytium.com.cn
  2015-07-02  6:31 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: fenghua at phytium.com.cn @ 2015-02-03  9:19 UTC (permalink / raw)
  To: u-boot

From: David Feng <fenghua@phytium.com.cn>

This patch add Kconfig to armv8.

Signed-off-by: David Feng <fenghua@phytium.com.cn>
---
 arch/arm/Kconfig           |   16 +++++++++++-----
 arch/arm/cpu/armv8/Kconfig |   10 ++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/cpu/armv8/Kconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 986b4c5..a01cb3c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -33,6 +33,10 @@ config CPU_V7
         bool
         select HAS_VBAR
 
+config CPU_V8
+        bool
+        select ARM64
+
 config CPU_PXA
         bool
 
@@ -729,24 +733,24 @@ config TEGRA
 
 config TARGET_VEXPRESS64_AEMV8A
 	bool "Support vexpress_aemv8a"
-	select ARM64
+	select CPU_V8
 
 config TARGET_VEXPRESS64_BASE_FVP
 	bool "Support Versatile Express ARMv8a FVP BASE model"
-	select ARM64
+	select CPU_V8
 	select SEMIHOSTING
 
 config TARGET_VEXPRESS64_JUNO
 	bool "Support Versatile Express Juno Development Platform"
-	select ARM64
+	select CPU_V8
 
 config TARGET_LS2085A_EMU
 	bool "Support ls2085a_emu"
-	select ARM64
+	select CPU_V8
 
 config TARGET_LS2085A_SIMU
 	bool "Support ls2085a_simu"
-	select ARM64
+	select CPU_V8
 
 config TARGET_LS1021AQDS
 	bool "Support ls1021aqds"
@@ -855,6 +859,8 @@ source "arch/arm/cpu/armv7/zynq/Kconfig"
 
 source "arch/arm/cpu/armv7/Kconfig"
 
+source "arch/arm/cpu/armv8/Kconfig"
+
 source "board/aristainetos/Kconfig"
 source "board/BuR/kwb/Kconfig"
 source "board/BuR/tseries/Kconfig"
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
new file mode 100644
index 0000000..5953848
--- /dev/null
+++ b/arch/arm/cpu/armv8/Kconfig
@@ -0,0 +1,10 @@
+if CPU_V8
+
+menu "ARMv8"
+
+config ARMV8_SWITCH_TO_EL1
+	boolean "Switch to exception level 1 when loading OS"
+
+endmenu
+
+endif
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-02  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-03  9:19 [U-Boot] [RFC PATCH] ARMv8: add Kconfig and CPU_V8 option fenghua at phytium.com.cn
2015-07-02  6:31 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox