diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2024-04-30 15:30:13 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2024-05-07 15:56:08 +0800 |
commit | c9b7e731492684b15956c2519fe3b4eb6682319b (patch) | |
tree | 40621215ba5e0cc0ef0c14e197b58d5d7f9a6a0c /configs/leez-rk3399_defconfig | |
parent | d8ff591d9263d63d02673f0c8de2250591b324e3 (diff) | |
download | u-boot-c9b7e731492684b15956c2519fe3b4eb6682319b.tar.gz |
rockchip: rk3399: Enable ARMv8 crypto and FIT checksum validation
The RK3399 SoC support the ARMv8 Cryptography Extensions, use of ARMv8
crypto can 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.
Imply SPL_FIT_SIGNATURE and LEGACY_IMAGE_FORMAT to enable FIT checksum
validation to almost all RK3399 boards.
The following boards have been excluded:
- chromebook_bob: SPL max size limitation of 120 KiB
- chromebook_kevin: SPL max size limitation of 120 KiB
Also imply OF_LIVE to help speed up init of U-Boot proper and disable
CONFIG_SPL_RAW_IMAGE_SUPPORT on leez-rk3399 to ensure SPL does not try
to jump to code that failed checksum validation.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'configs/leez-rk3399_defconfig')
-rw-r--r-- | configs/leez-rk3399_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/leez-rk3399_defconfig b/configs/leez-rk3399_defconfig index e5088341389..2831cfb3668 100644 --- a/configs/leez-rk3399_defconfig +++ b/configs/leez-rk3399_defconfig @@ -15,6 +15,7 @@ CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-leez-p710.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_MAX_SIZE=0x2e000 CONFIG_SPL_PAD_TO=0x7f8000 +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y CONFIG_TPL=y CONFIG_CMD_BOOTZ=y |