]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: rtl931x: Enable parsing of u-boot nvmem layouts
authorSven Eckelmann <se@simonwunderlich.de>
Mon, 14 Apr 2025 13:16:47 +0000 (13:16 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 4 Oct 2025 14:16:22 +0000 (16:16 +0200)
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>
target/linux/realtek/rtl931x/config-6.12

index 6584a23e81f38fa9b5ad87fa6ff2b32640853ade..6d402df03bdfa6ed294c2f34ef8074558e46dd76 100644 (file)
@@ -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