Skip to content

Commit

Permalink
u-boot: orangepi5pro: fix UBOOT_TARGET_MAP whitespace/newlines an…
Browse files Browse the repository at this point in the history
…d add note
  • Loading branch information
rpardini committed Jan 5, 2025
1 parent f16e140 commit eaa8ab0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/boards/orangepi5pro.csc
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ function post_family_tweaks__orangepi5pro_naming_audios() {

function post_family_config_branch_vendor__orangepi5pro_uboot_add_sata_target() {
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_uboot_custom_postprocess__create_sata_spi_image() {
Expand Down

0 comments on commit eaa8ab0

Please sign in to comment.