aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Poulain2022-09-22 11:18:46 +0200
committerStefano Babic2022-11-07 22:45:04 +0100
commita887f2ac3e6c2479476ff0ef82c1d2e23178b6f9 (patch)
tree738fb00cb053790284749f2d4f1ca0c2cf7a3cb9
parent88bd8ee106591eb900561715c44ad04441afc0e3 (diff)
configs: imx8m: Enable CONFIG_ARMV8_CRYPTO support
This enables armv8 crypto extension usage for SHA1/SHA256. Which speed up sha1/sha256 operations, about 10x faster with a imx8mm evk for a 20MiB kernel hash verification (12ms vs 165ms). Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Reviewed-by: Fabio Estevam <festevam@denx.de>
-rw-r--r--arch/arm/mach-imx/imx8m/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 8cd7c7a8dd8..fbe676d7be6 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -4,6 +4,7 @@ config IMX8M
bool
select HAS_CAAM
select ROM_UNIFIED_SECTIONS
+ select ARMV8_CRYPTO
config IMX8MQ
bool