From bb6b092a43e34fbc64d941bb62f19a6b8ac2c5de Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 27 Aug 2014 10:44:32 -0500 Subject: [PATCH] arm64: add config options for exception level startup Depending on the armv8 implementation the cpus could start in EL1, EL2, or EL3. Therefore allow the SoC to select the appropriate mode. BUG=chrome-os-partner:31545 BRANCH=None TEST=Built. Change-Id: Id063681ef7691097e528c105fffac5d467585e4e Signed-off-by: Aaron Durbin Reviewed-on: https://chromium-review.googlesource.com/214666 Reviewed-by: Furquan Shaikh --- src/arch/arm64/armv8/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/arch/arm64/armv8/Kconfig b/src/arch/arm64/armv8/Kconfig index fc2e6680b1..1a3fd25e28 100644 --- a/src/arch/arm64/armv8/Kconfig +++ b/src/arch/arm64/armv8/Kconfig @@ -7,3 +7,15 @@ config ARCH_ROMSTAGE_ARM_V8_64 config ARCH_RAMSTAGE_ARM_V8_64 def_bool n select ARCH_RAMSTAGE_ARM64 + +config ARM64_CPUS_START_IN_EL3 + def_bool n + depends on ARCH_BOOTBLOCK_ARM_V8_64 || ARCH_ROMSTAGE_ARM_V8_64 || ARCH_RAMSTAGE_ARM_V8_64 + +config ARM64_CPUS_START_IN_EL2 + def_bool n + depends on ARCH_BOOTBLOCK_ARM_V8_64 || ARCH_ROMSTAGE_ARM_V8_64 || ARCH_RAMSTAGE_ARM_V8_64 + +config ARM64_CPUS_START_IN_EL1 + def_bool n + depends on ARCH_BOOTBLOCK_ARM_V8_64 || ARCH_ROMSTAGE_ARM_V8_64 || ARCH_RAMSTAGE_ARM_V8_64