diff options
author | David Bauer <mail@david-bauer.net> | 2021-07-21 10:28:50 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-07-21 11:39:39 +0200 |
commit | 373c08bcbb08b49715919597ed400abb4dd169c9 (patch) | |
tree | f10f2bb4089e8b3bff2294d00db8963fe02e8d10 /target/linux/ramips/mt7620 | |
parent | f33fbfa4de3fb1d2e8a0341683e0eb4da40365ef (diff) | |
download | upstream-373c08bcbb08b49715919597ed400abb4dd169c9.tar.gz upstream-373c08bcbb08b49715919597ed400abb4dd169c9.tar.bz2 upstream-373c08bcbb08b49715919597ed400abb4dd169c9.zip |
ramips: fix missing NVMEM subsystem
MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 06bb4a5018cd ("ramips: 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: 06bb4a5018cd ("ramips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit message]
Diffstat (limited to 'target/linux/ramips/mt7620')
-rw-r--r-- | target/linux/ramips/mt7620/config-5.10 | 1 | ||||
-rw-r--r-- | target/linux/ramips/mt7620/config-5.4 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7620/config-5.10 b/target/linux/ramips/mt7620/config-5.10 index 391449cc51..f91d01bbd8 100644 --- a/target/linux/ramips/mt7620/config-5.10 +++ b/target/linux/ramips/mt7620/config-5.10 @@ -129,6 +129,7 @@ CONFIG_NET_RALINK_SOC=y # CONFIG_NET_VENDOR_MEDIATEK is not set CONFIG_NET_VENDOR_RALINK=y CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y +CONFIG_NVMEM=y CONFIG_OF=y CONFIG_OF_ADDRESS=y CONFIG_OF_EARLY_FLATTREE=y diff --git a/target/linux/ramips/mt7620/config-5.4 b/target/linux/ramips/mt7620/config-5.4 index ca96f09c5b..d6d8ef483f 100644 --- a/target/linux/ramips/mt7620/config-5.4 +++ b/target/linux/ramips/mt7620/config-5.4 @@ -131,6 +131,7 @@ CONFIG_NET_RALINK_SOC=y # CONFIG_NET_VENDOR_MEDIATEK is not set CONFIG_NET_VENDOR_RALINK=y CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y +CONFIG_NVMEM=y CONFIG_OF=y CONFIG_OF_ADDRESS=y CONFIG_OF_EARLY_FLATTREE=y |