summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Eckelmann2025-04-14 13:16:47 +0000
committerHauke Mehrtens2025-10-04 14:16:22 +0000
commit746ccc5be618e1939d4a7d08c22377f97a235c52 (patch)
tree57adbb86b3511490a274ed0c608d23e1d1276a56
parentb81b57655622538911121c9f6109d7c0c914bda0 (diff)
downloadopenwrt-746ccc5be618e1939d4a7d08c22377f97a235c52.tar.gz
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@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/20172 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/realtek/rtl931x/config-6.121
1 files changed, 1 insertions, 0 deletions
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