From d5d2149b0438227c9535ec8bf4e4a44f8203d70f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 22 Oct 2024 13:02:47 -0700 Subject: [PATCH] apm821xx: disable NVMEM_U_BOOT_ENV The main point of it currently is to extract mac addresses. That is not being done as MAC addresses are elsewhere. Disable it until it becomes more feature packed and there's an actual use for it. All devices already have config definitions. NVMEM prevents redundant support as well as write support. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16618 (cherry picked from commit 32256552362d393e66098cafaa7366f33f025144) Link: https://github.com/openwrt/openwrt/pull/22339 Signed-off-by: Robert Marko --- target/linux/apm821xx/config-6.12 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/apm821xx/config-6.12 b/target/linux/apm821xx/config-6.12 index e242b05723..7a8d20b35b 100644 --- a/target/linux/apm821xx/config-6.12 +++ b/target/linux/apm821xx/config-6.12 @@ -174,7 +174,6 @@ CONFIG_NR_CPUS=1 CONFIG_NR_IRQS=512 CONFIG_NVMEM=y CONFIG_NVMEM_LAYOUTS=y -CONFIG_NVMEM_LAYOUT_U_BOOT_ENV=y CONFIG_NVMEM_SYSFS=y CONFIG_OF=y CONFIG_OF_ADDRESS=y