[PATCH 3/3] arm: renesas: Store env in HF on R-Car R8A78000 X5H Cortex-M33 RSIP port

Marek Vasut via U-Boot <[email protected]> Tue, 4 Aug 2026 01:30:32 +0200
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Store U-Boot environment in the last sector of HyperFlash on
R-Car R8A78000 X5H Cortex-M33 RSIP port. This allows the RSIP
port to have persistent environment, which is very useful for
development.

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
 configs/r8a78000_ironhide_cm33_defconfig | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configs/r8a78000_ironhide_cm33_defconfig b/configs/r8a78000_ironhide_cm33_defconfig
index 32998a98028..618712385ad 100644
--- a/configs/r8a78000_ironhide_cm33_defconfig
+++ b/configs/r8a78000_ironhide_cm33_defconfig
@@ -33,7 +33,13 @@ CONFIG_DM_DMA=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_DM_MTD=y
 CONFIG_DM_RESET=y
-CONFIG_ENV_SIZE=0x20000
+CONFIG_ENV_ADDR=0x37F80000
+CONFIG_ENV_ADDR_REDUND=0x37FC0000
+CONFIG_ENV_IS_IN_FLASH=y
+CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_REDUNDANT=y
+CONFIG_ENV_SECT_SIZE=0x40000
+CONFIG_ENV_SIZE=0x40000
 CONFIG_FLASH_CFI_MTD=y
 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
 CONFIG_LAST_STAGE_INIT=y
-- 
2.53.0