summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2024-10-02 21:59:04 +0000
committerRobert Marko2024-10-21 18:54:55 +0000
commitcaf29ee97b45ff22502e506795cf7fec14b9df41 (patch)
tree33bac3964f4f62ef7759007613650abae669de63
parent7754924c9ea828939f9528ba7afe8ed3c3c9f46e (diff)
downloadopenwrt-caf29ee97b45ff22502e506795cf7fec14b9df41.tar.gz
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 <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16580 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/apm821xx/nand/config-default1
1 files changed, 1 insertions, 0 deletions
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