[PATCH 2/2] ARM: renesas: Enable fuse driver and misc command on R-Car Gen4
Marek Vasut
marek.vasut+renesas at mailbox.org
Sat Jan 3 01:21:11 CET 2026
Enable both eFUSE driver and matching 'misc' command to read out
the fuses from U-Boot command line on Renesas R-Car Gen4 SoCs.
Example usage, read out R-Car S4 OTP fuses 0x144 and 0x148 which
contain UFS tuning:
"
=> misc list
Device Index Driver
-------------------------------------
fuse at e6078800 0 rcar_efuse
=> misc read fuse at e6078800 0x144 0x56000000 8
=> md 0x56000000 2
56000000: ........ ........
"
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Bhupesh Sharma <bhupesh.linux at gmail.com>
Cc: Neil Armstrong <neil.armstrong at linaro.org>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh at renesas.com>
Cc: u-boot at lists.denx.de
---
configs/renesas_rcar4.config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/renesas_rcar4.config b/configs/renesas_rcar4.config
index 6ebd93ede9f..675dfc95a81 100644
--- a/configs/renesas_rcar4.config
+++ b/configs/renesas_rcar4.config
@@ -4,11 +4,13 @@
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
CONFIG_ARCH_CPU_INIT=y
CONFIG_BOOTARGS="root=/dev/nfs rw nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20"
+CONFIG_CMD_MISC=y
CONFIG_CMD_MMC=y
CONFIG_DM_ETH_PHY=y
CONFIG_MMC_HS200_SUPPORT=y
CONFIG_MMC_IO_VOLTAGE=y
CONFIG_MMC_UHS_SUPPORT=y
+CONFIG_RCAR_EFUSE=y
CONFIG_RENESAS_SDHI=y
CONFIG_SPI_FLASH_SPANSION=y
CONFIG_SYS_I2C_RCAR_I2C=y
--
2.51.0
More information about the U-Boot
mailing list