[openwrt/openwrt] bmips: fix missing NVMEM subsystem

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 21 02:39:55 PDT 2021


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f33fbfa4de3fb1d2e8a0341683e0eb4da40365ef

commit f33fbfa4de3fb1d2e8a0341683e0eb4da40365ef
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Wed Jul 21 10:28:50 2021 +0200

    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 <ynezz at true.cz>
---
 target/linux/bmips/config-5.10 | 1 +
 1 file changed, 1 insertion(+)

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



More information about the lede-commits mailing list