]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: renesas: Build u-boot-elf.shdr for R-Car X5H Cortex-M33 RSIP port
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 11 Jun 2026 18:04:26 +0000 (20:04 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 12 Jun 2026 22:00:54 +0000 (00:00 +0200)
Currently, the default build target for all R-Car Gen3/4/5 is the
u-boot-elf.srec, which depends on u-boot.bin and other vital build
artifacts, which get built as prerequisites. The R-Car Gen5 RSIP
port benefits from u-boot-elf.shdr being built as well, because the
u-boot-elf.shdr contains header used by the BootROM to load and
start U-Boot on the RSIP core. Because u-boot-elf.shdr depends on
u-boot-elf.srec, switch the default build target for R-Car Gen5
RSIP port to u-boot-elf.shdr. This way, both u-boot-elf.shdr and
u-boot-elf.srec are built for R-Car Gen5 RSIP port.

Fixes: 9d47a5a4d560 ("arm: renesas: Add Renesas R-Car R8A78000 X5H Cortex-M33 RSIP port")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Kconfig

diff --git a/Kconfig b/Kconfig
index 8428d039a1c0d510681fb1204a108a02fd14709d..99b896b6cf1cbf94e2d6e440531f34c4fcb1b43b 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -548,7 +548,8 @@ config REMAKE_ELF
 
 config BUILD_TARGET
        string "Build target special images"
-       default "u-boot-elf.srec" if RCAR_64
+       default "u-boot-elf.shdr" if RCAR_64 && RCAR_64_RSIP
+       default "u-boot-elf.srec" if RCAR_64 && !RCAR_64_RSIP
        default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
        default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL
        default "u-boot-with-spl.imx" if (ARCH_MX6 || ARCH_MX7) && SPL