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>
This commit is contained in:
Elyes HAOUAS 2021-01-17 08:55:46 +01:00 committed by Patrick Georgi
parent 8331833c89
commit ce66cd3e49
1 changed files with 4 additions and 0 deletions

View File

@ -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