Question about mtd flags
unsik Kim
donari75 at gmail.com
Wed Oct 29 06:54:31 EDT 2008
Hello?
I am writing the "mflash" mtd driver and it works good. But I want to
improve more ... (speed).
Mflash is fusion memory just like sandisk's mdoc.
It contains nand flash, nand flash controller, ecc engine, etc.
Mflash has SRAM interface and uses ATA protocol. (but not 100% compatible)
So, user just read, write sector like hard-disk.
My question is what is the most suitable mtd flag for mflash ? (file
system is ext2)
Currently I'm using
mtd.type = MTD_OTHER;
mtd.flags = MTD_CLEAR_BITS | MTD_SET_BITS;
mtd.ecctype = MTD_ECC_RS_DiskOnChip;
mtd.erasesize = 4096;
I see mtd stack always call mtd erase function even though mflash doesn't need.
How can I fix that ?
p.s. Sorry for my poor english skill.
More information about the linux-mtd
mailing list