diff options
author | Julius Werner <jwerner@chromium.org> | 2024-01-05 10:40:43 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2024-02-24 02:02:34 +0000 |
commit | 366ceeef0f07d3962ee6e6a0f3151a7f438c97ed (patch) | |
tree | 759b0461f6ecdcb046d14f1bdce340ecf1e85008 /payloads/libpayload/vboot/Makefile.mk | |
parent | c57b902f9ba65cdaaceec262e7abf5b240a51d26 (diff) | |
download | coreboot-366ceeef0f07d3962ee6e6a0f3151a7f438c97ed.tar.gz coreboot-366ceeef0f07d3962ee6e6a0f3151a7f438c97ed.tar.bz2 coreboot-366ceeef0f07d3962ee6e6a0f3151a7f438c97ed.zip |
vboot: Enable new arm64 SIMD crypto acceleration
This patch passes the correct flag to vboot to enable SIMD crypto
acceleration on arm64 devices. This uses a core part of the ISA and
should thus be supported on all arm64 SoCs -- so we normally always
want it enabled, but there should still be a Kconfig in case a SoC wants
to use the hwcrypto interface for its own (off-CPU) crypto acceleration
engine instead. (You could also disable it to save a small amount of
code size at the cost of speed, if necessary.)
Change-Id: I3820bd6b7505202b7edb6768385ce5deb18777a4
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80710
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'payloads/libpayload/vboot/Makefile.mk')
-rw-r--r-- | payloads/libpayload/vboot/Makefile.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/vboot/Makefile.mk b/payloads/libpayload/vboot/Makefile.mk index bdc9ad2ad67a..554fec864fde 100644 --- a/payloads/libpayload/vboot/Makefile.mk +++ b/payloads/libpayload/vboot/Makefile.mk @@ -46,6 +46,7 @@ $(VBOOT_FW_LIB): $(obj)/libpayload-config.h X86_SHA_EXT=$(call kconfig-to-binary, $(CONFIG_LP_VBOOT_X86_SHA_EXT)) \ VB2_X86_RSA_ACCELERATION=$(call kconfig-to-binary, $(CONFIG_LP_VBOOT_X86_RSA_ACCELERATION)) \ ARMV8_CRYPTO_EXT=$(call kconfig-to-binary, $(CONFIG_LP_VBOOT_SHA_ARMV8_CE)) \ + ARM64_RSA_ACCELERATION=$(call kconfig-to-binary, $(CONFIG_LP_VBOOT_ARM64_RSA_ACCELERATION)) \ UNROLL_LOOPS=1 \ BUILD="$(VBOOT_BUILD_DIR)" \ V=$(V) \ |