XinStellaris commented on code in PR #6829:
URL: https://github.com/apache/incubator-nuttx/pull/6829#discussion_r957061981


##########
drivers/mtd/Kconfig:
##########
@@ -192,6 +192,28 @@ config MTD_CONFIG_NAME_LEN
        ---help---
                Sets the maximum length of config item names.
 
+config MTD_CONFIG_FAIL_SAFE
+       bool "Enable Fail Safe MTD Config"
+       default n
+       ---help---
+               Enable the new storage layout to support the resilient to power 
loss.
+               This replaces the drivers/mtd/mtd_config, which
+               is resilient to power loss.
+
+config MTD_CONFIG_FAIL_SAFE_LOOKUP_CACHE
+       bool "Enable Fail Safe MTD Config lookup cache"
+       default n
+       depends on MTD_CONFIG_FAIL_SAFE
+       ---help---
+               Enable ram buffer to speedup lookup process.
+
+config MTD_CONFIG_FAIL_SAFE_LOOKUP_CACHE_SIZE
+       int "Fail Safe MTD Config lookup cache size"
+       default 8

Review Comment:
   okay



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to