From: Petr Štetiar Date: Wed, 21 Jul 2021 08:28:50 +0000 (+0200) Subject: bmips: fix missing NVMEM subsystem X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f33fbfa4de3fb1d2e8a0341683e0eb4da40365ef;p=openwrt%2Fstaging%2Fnbd.git bmips: fix missing NVMEM subsystem MAC address retrieval was switched to more generic upstream (5.13) NVMEM based solution in commit 32adbfc789f6 ("bmips: convert mtd-mac-address to nvmem implementation"), but NVMEM subsystem wasn't enabled in the kernel, so fix it now. References: https://github.com/openwrt/openwrt/pull/4041#issuecomment-883322801 Fixes: 32adbfc789f6 ("bmips: convert mtd-mac-address to nvmem implementation") Signed-off-by: Petr Štetiar --- diff --git a/target/linux/bmips/config-5.10 b/target/linux/bmips/config-5.10 index 58f40951d3..f10768f99e 100644 --- a/target/linux/bmips/config-5.10 +++ b/target/linux/bmips/config-5.10 @@ -194,6 +194,7 @@ CONFIG_NET_SWITCHDEV=y CONFIG_NO_EXCEPT_FILL=y CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y CONFIG_NR_CPUS=2 +CONFIG_NVMEM=y CONFIG_OF=y CONFIG_OF_ADDRESS=y CONFIG_OF_EARLY_FLATTREE=y