ARMv8: add Kconfig and CPU_V8 option
RFC PATCH 1/1 ARMv8: add Kconfig and CPU_V8 option
From: David Feng <[email protected]>
This patch add Kconfig to armv8.
Signed-off-by David Feng <[email protected]>
--- 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
arch/arm/Kconfig +11 -5
@@ -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"
arch/arm/cpu/armv8/Kconfig new file +10 -0
@@ -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
Signature · 1 line
1.7.9.5
RFC PATCH 1/1 ARMv8: add Kconfig and CPU_V8 option
Hello fenghua at phytium.com.cn,
Quoted 10 lines · fenghua at phytium.com.cn
From: David Feng <[email protected]>
This patch add
Kconfigto armv8.Signed-off-by David Feng <[email protected]>--- 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
Apologies, I'd put this on the backburner as it was an RFC.
Your patch posted on March 2015 patch creates the file arch/arm/cpu/armv8/Kconfig, which already exists AFAICT since September 2014. Which tree was your patch created against ?
In any case, it needs to be rebased on current mailine or ARM tree.
Amicalement,
Signature · 1 line
Albert.