From: Rosen Penev Date: Wed, 2 Oct 2024 21:59:04 +0000 (-0700) Subject: apm821xx: nand: add NVMEM-on-UBI support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=caf29ee97b45ff22502e506795cf7fec14b9df41;p=openwrt%2Fstaging%2Fansuel.git 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 --- 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