From 128ffaa17d57f7cc2cac65c12ec0a69be26a22c5 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sun, 5 Jan 2025 15:19:40 +0100 Subject: [PATCH] u-boot: `rock-5a`: fix `UBOOT_TARGET_MAP` whitespace/newlines and add note --- config/boards/rock-5a.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/boards/rock-5a.conf b/config/boards/rock-5a.conf index 29647a4c2a..0047cd7ed3 100644 --- a/config/boards/rock-5a.conf +++ b/config/boards/rock-5a.conf @@ -28,8 +28,7 @@ function post_family_tweaks__rock5a_naming_audios() { function post_family_config_branch_vendor__dual_uboot_for_rock5a() { display_alert "$BOARD" "Configuring ($BOARD) normal/SPI uboot target map" "info" - UBOOT_TARGET_MAP=" - BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-spi-rk3588s_defconfig spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;rkspi_loader.img - BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-rk3588s_defconfig spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb - " + # Note: whitespace/newlines are significant; BOOT_SUPPORT_SPI & BOOT_SPI_RKSPI_LOADER influence the postprocess step that runs for _every_ target and produces rkspi_loader.img + UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-spi-rk3588s_defconfig spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;rkspi_loader.img + BL31=$RKBIN_DIR/$BL31_BLOB rock-5a-rk3588s_defconfig spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb" }