apm821xx: nand: add NVMEM-on-UBI support
authorRosen Penev <rosenp@gmail.com>
Wed, 2 Oct 2024 21:59:04 +0000 (14:59 -0700)
committerRobert Marko <robimarko@gmail.com>
Mon, 21 Oct 2024 18:54:55 +0000 (20:54 +0200)
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>
target/linux/apm821xx/nand/config-default

index f9950275872bcbc192e47ead125eaa7154e7cd2f..220ee3b9c0ffd657b118c167f3870169bfe1ffd3 100644 (file)
@@ -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