如图,Nand Driver主要包含了两层:
MTD Core Driver.
这个部分提供了各种公共的api和管理函数。
MTD Chip Driver.
这个部分主要是实现硬件驱动。
Include two parts : general code and data (eg.partition)
Path:Kernel/driver/mtd/
Driver for a specific NAND
Offer the write , read and erase functions of NAND flash
Path:kernel/driver/mtd/nand
Path:kernel/driver/mmc/core
Path:kernel/driver/mmc/block
Path:kernel/driver/mmc/host/
Path:kernel/driver/scsi/ufs/
Path:kernel/driver/scsi/