From f16e1408e4ea11813cabbecc564b01c8424653e2 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sun, 5 Jan 2025 15:22:39 +0100 Subject: [PATCH] u-boot: `orangepi5`: fix `UBOOT_TARGET_MAP` whitespace/newlines and add note --- config/boards/orangepi5.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/boards/orangepi5.conf b/config/boards/orangepi5.conf index c96c41cb10..f67170646f 100644 --- a/config/boards/orangepi5.conf +++ b/config/boards/orangepi5.conf @@ -71,11 +71,9 @@ function post_family_config__orangepi5_uboot_add_sata_target() { fi display_alert "$BOARD" "Configuring ($BOARD) standard and sata uboot target map" "info" - - UBOOT_TARGET_MAP=" - BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img - BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img - " + # 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 $BOOTCONFIG spl/u-boot-spl.bin u-boot.dtb u-boot.itb;;idbloader.img u-boot.itb rkspi_loader.img + BL31=$RKBIN_DIR/$BL31_BLOB $BOOTCONFIG_SATA spl/u-boot-spl.bin u-boot.dtb u-boot.itb;; rkspi_loader_sata.img" } function post_family_config_branch_edge__uboot_config() {