michallenc commented on code in PR #19018:
URL: https://github.com/apache/nuttx/pull/19018#discussion_r3412984974
##########
drivers/mtd/Kconfig:
##########
@@ -50,6 +50,15 @@ config FTL_READAHEAD
default n
depends on DRVR_READAHEAD
+config FTL_BBM
+ bool "Enable bad block management in the FTL layer"
+ default y if MTD_NAND
Review Comment:
I am talking about the opposite scenario. MTD driver sets `markbad` and
`isbad`, but now you have to manually enable `CONFIG_FTL_BBM`, otherwise you
end up with the assertion. The option should be set automatically if
`CONFIG_MTD_PARTITION` is configured.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]