[openwrt/openwrt] apm821xx: nand: add NVMEM-on-UBI support

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 21 11:55:04 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/caf29ee97b45ff22502e506795cf7fec14b9df41

commit caf29ee97b45ff22502e506795cf7fec14b9df41
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Wed Oct 2 14:59:04 2024 -0700

    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 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16580
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 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




More information about the lede-commits mailing list