[openwrt/openwrt] realtek: rtl931x: Enable parsing of u-boot nvmem layouts
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 4 07:17:12 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/746ccc5be618e1939d4a7d08c22377f97a235c52
commit 746ccc5be618e1939d4a7d08c22377f97a235c52
Author: Sven Eckelmann <se at simonwunderlich.de>
AuthorDate: Mon Apr 14 13:16:47 2025 +0000
realtek: rtl931x: 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: Sven Eckelmann <se at simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20172
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/realtek/rtl931x/config-6.12 | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/realtek/rtl931x/config-6.12 b/target/linux/realtek/rtl931x/config-6.12
index 6584a23e81..6d402df03b 100644
--- a/target/linux/realtek/rtl931x/config-6.12
+++ b/target/linux/realtek/rtl931x/config-6.12
@@ -181,6 +181,7 @@ CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
CONFIG_NR_CPUS=4
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
More information about the lede-commits
mailing list