]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3328: Enable ARMv8 crypto extensions
authorJonas Karlman <jonas@kwiboo.se>
Sun, 21 Apr 2024 20:09:02 +0000 (20:09 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 26 Apr 2024 07:47:05 +0000 (15:47 +0800)
The RK3328 SoC support ARMv8 Cryptography Extensions and use of the
ARMv8 crypto extensions help speed up FIT checksum validation in SPL.

Imply ARMV8_SET_SMPEN and ARMV8_CRYPTO to take advantage of the crypto
extensions for SHA256 when validating checksum of FIT images.

Also imply OF_LIVE to help speed up init of U-Boot proper.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/Kconfig

index 7f3199c71e0ff292f4924fb09fb0bdfc7e5a1fb7..83779bd462085806f8c741c7b57d23b8487fb6d7 100644 (file)
@@ -191,8 +191,11 @@ config ROCKCHIP_RK3328
        select SUPPORT_TPL
        select TPL
        select TPL_NEEDS_SEPARATE_STACK if TPL
+       imply ARMV8_CRYPTO
+       imply ARMV8_SET_SMPEN
        imply MISC
        imply MISC_INIT_R
+       imply OF_LIVE
        imply PRE_CONSOLE_BUFFER
        imply ROCKCHIP_COMMON_BOARD
        imply ROCKCHIP_EFUSE