From caf29ee97b45ff22502e506795cf7fec14b9df41 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 2 Oct 2024 14:59:04 -0700 Subject: [PATCH] apm821xx: nand: add NVMEM-on-UBI support Oversight from 8d302f5ebc6e2787d01d6c6a8ef6bcc403949705 , which requires this to work. I couldn't test it as I ended up wiping my UBI volume by accident. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16580 Signed-off-by: Robert Marko --- target/linux/apm821xx/nand/config-default | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/apm821xx/nand/config-default b/target/linux/apm821xx/nand/config-default index f995027587..220ee3b9c0 100644 --- a/target/linux/apm821xx/nand/config-default +++ b/target/linux/apm821xx/nand/config-default @@ -15,6 +15,7 @@ CONFIG_MTD_RAW_NAND=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20 CONFIG_MTD_UBI_BLOCK=y +CONFIG_MTD_UBI_NVMEM=y CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_NET_DEVLINK=y CONFIG_NET_DSA=y -- 2.30.2