summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-06-11 20:04:26 +0200
committerMarek Vasut <[email protected]>2026-06-13 00:00:54 +0200
commitd043e977104650ce8f00eeaf57a7484e4684900d (patch)
treeac07d0dec7798b0e167fb7c1457fc90fc8cf6735
parent5ca1a73c7d3064582498a8aa96c29e714402a6d3 (diff)
arm: renesas: Build u-boot-elf.shdr for R-Car X5H Cortex-M33 RSIP port
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 <[email protected]>
-rw-r--r--Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index 8428d039a1c..99b896b6cf1 100644
--- 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