summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshal Gohel2025-04-14 13:16:47 +0000
committerHauke Mehrtens2025-08-28 19:07:57 +0000
commitebb342af444426aa743ba9c0c0427d8b8c1924e2 (patch)
tree61324ab7c4c058a5c58c417e1bbb3234fc7d0cf0
parent5880f345ba6bf8387a0219aafbce661c1dbca357 (diff)
downloadopenwrt-ebb342af444426aa743ba9c0c0427d8b8c1924e2.tar.gz
realtek: rtl930x: Enable parsing of u-boot nvmem layouts
To be able to read out the ethaddr from the u-boot environment for MAC address configuration, it is required to also enable the NVMEM layout parsing code for the U-Boot env layout. Signed-off-by: Harshal Gohel <hg@simonwunderlich.de> Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/19362 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/realtek/rtl930x/config-6.121
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/rtl930x/config-6.12 b/target/linux/realtek/rtl930x/config-6.12
index 47779f151d..bbfd2fd7bd 100644
--- a/target/linux/realtek/rtl930x/config-6.12
+++ b/target/linux/realtek/rtl930x/config-6.12
@@ -167,6 +167,7 @@ CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
CONFIG_NR_CPUS=2
CONFIG_NVMEM=y
CONFIG_NVMEM_LAYOUTS=y
+CONFIG_NVMEM_LAYOUT_U_BOOT_ENV=y
CONFIG_OF=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_EARLY_FLATTREE=y