From: Shiji Yang <yangshiji66@qq.com>
Date: Tue, 19 Mar 2024 13:25:52 +0000 (+0800)
Subject: ath79: tiny: enable NVMEM u-boot-env driver
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9a6c1846bb40879fccf42070ec3bf4daa9732e93;p=openwrt%2Fstaging%2Fdangole.git

ath79: tiny: enable NVMEM u-boot-env driver

The upcoming D-Link devices to the tiny sub-target require it to
parse the u-env MAC address. The kernel size will increase by
about 1 KiB.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
---

diff --git a/target/linux/ath79/tiny/config-default b/target/linux/ath79/tiny/config-default
index df7e662827..3fb83dd8e1 100644
--- a/target/linux/ath79/tiny/config-default
+++ b/target/linux/ath79/tiny/config-default
@@ -6,6 +6,8 @@ CONFIG_NET_DSA=y
 CONFIG_NET_DSA_MV88E6060=y
 CONFIG_NET_DSA_TAG_TRAILER=y
 CONFIG_NET_SWITCHDEV=y
+CONFIG_NVMEM_SYSFS=y
+CONFIG_NVMEM_U_BOOT_ENV=y
 CONFIG_PHYLINK=y
 CONFIG_PHY_AR7100_USB=y
 CONFIG_PHY_AR7200_USB=y