xiaoxiang781216 commented on code in PR #19018: URL: https://github.com/apache/nuttx/pull/19018#discussion_r3345722624
########## drivers/mtd/ftl.c: ########## @@ -80,10 +80,12 @@ struct ftl_struct_s FAR uint8_t *eblock; /* One, in-memory erase block */ int oflags; +#ifdef CONFIG_MTD_NAND Review Comment: MTD_NAND represent a general NAND driver framework, which isn't used on SPI NAND flash normally, so this change will skip the bad block management on SPI NAND flash wrongly. -- 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]
