[PATCH] arm: renesas: Build u-boot-elf.shdr for R-Car X5H Cortex-M33 RSIP port
Marek Vasut
marek.vasut+renesas at mailbox.org
Thu Jun 11 20:04:26 CEST 2026
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 at mailbox.org>
---
Cc: Casey Connolly <casey.connolly at linaro.org>
Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
Cc: Quentin Schulz <quentin.schulz at cherry.de>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.53.0
More information about the U-Boot
mailing list