set ROCKCHIP_TPL unconditionally for binman builds

required for boards with u-boot option CONFIG_ROCKCHIP_EXTERNAL_TPL,
should be ignored for boards without. See armbian/build#8449
This commit is contained in:
Jesse R Codling
2025-08-05 11:39:41 -04:00
committed by Paolo
parent a8a1042391
commit 4c2d8b66c9

View File

@@ -175,8 +175,9 @@ prepare_boot_configuration() {
[[ $BOOT_SCENARIO == tpl-blob-atf-mainline ]] &&
UBOOT_TARGET_MAP="BL31=bl31.elf idbloader.img u-boot.itb;;idbloader.img u-boot.itb"
[[ $BOOT_SCENARIO == binman-atf-mainline ]] &&
UBOOT_TARGET_MAP="BL31=bl31.elf;;u-boot-rockchip.bin"
UBOOT_TARGET_MAP="BL31=bl31.elf ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
# binman builds do not have separate build targets for idbloader.img and u-boot.itb
# ROCKCHIP_TPL needed for boards with CONFIG_ROCKCHIP_EXTERNAL_TPL, ignored for boards without it
;;
tpl-spl-blob)
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB idbloader.img u-boot.itb;;idbloader.img u-boot.itb"