summaryrefslogtreecommitdiff
path: root/src/arch/arm64
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-01-17 08:55:46 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-25 08:55:08 +0000
commitce66cd3e496b3df5775822942fa1540f3f8f9b41 (patch)
tree4d23de577a91755ba965862fd9973d074048f573 /src/arch/arm64
parent8331833c89b3413ed4c3aef4a4cab762620911d0 (diff)
arm64/armv8: Set ARCH_ARMV8_EXTENSION depend on ARCH_ARM64
This will remove "ARCH_ARMV8_EXTENSION=0" from ".config" when unneeded. Change-Id: Idd4ad67fb4a3efdb0864803f87c6b5f508fb4364 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49598 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/arm64')
-rw-r--r--src/arch/arm64/armv8/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm64/armv8/Kconfig b/src/arch/arm64/armv8/Kconfig
index f70b529972..c767b06ed0 100644
--- a/src/arch/arm64/armv8/Kconfig
+++ b/src/arch/arm64/armv8/Kconfig
@@ -14,6 +14,8 @@ config ARCH_RAMSTAGE_ARMV8_64
bool
select ARCH_RAMSTAGE_ARM64
+if ARCH_ARM64
+
config ARCH_ARMV8_EXTENSION
int
default 0
@@ -25,3 +27,5 @@ config ARCH_ARMV8_EXTENSION
All ARMv8 implementations are downwards-compatible, so this does not
need to be changed unless specific features (e.g. new instructions)
are used by the SoC's coreboot code.
+
+endif # ARCH_ARM64