jingfei195887 commented on PR #16642: URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3061700120
> @jingfei195887 @xiaoxiang781216 is the moving of `ftl_initialize` out of the board files really required. > > If I am correct the ftl layer creates a block device on top of a mtd, but block devices can also be real devices (disks). For real block devices this would belong to the board file, so probably for the flt layer also. @Laczen Hi from my point of view, If there are real block devices such as SD/EMMC, we should use register_blockdriver for registration. The FTL exists merely as a wrapper layer for MTD. As long as we can achieve the encapsulation from MTD to Block, there is no need to expose the FTL interface to the application. -- 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