[PATCH v2 2/3] rockchip: rk3328: Enable ARMv8 crypto extensions

Kever Yang kever.yang at rock-chips.com
Mon Apr 22 10:24:05 CEST 2024


On 2024/4/22 04:09, Jonas Karlman wrote:
> 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 at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever

> ---
> v2: No change, rebase on latest master bransh
> ---
>   arch/arm/mach-rockchip/Kconfig | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
> index ee0f338995b9..651ecfe9b8fd 100644
> --- a/arch/arm/mach-rockchip/Kconfig
> +++ b/arch/arm/mach-rockchip/Kconfig
> @@ -180,8 +180,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


More information about the U-Boot mailing list