Is mtdblock_ro to be used only with 512byte page size flash only?

Max Stirling vicky.irobot at gmail.com
Fri Feb 8 05:40:15 EST 2008


In mtdblock_ro code, mtdblock_readsect function calls mtd->read passing 
a hard coded parameter of 512 (the third parameter).

Is this refering to 512 bytes data which is like one page in case of the 
flash I am using? If that is the case then can this block RO code be 
used only with flash which has a 512 data size?

M.S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vicky_irobot.vcf
Type: text/x-vcard
Size: 48 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20080208/a58eff76/attachment.vcf 


More information about the linux-mtd mailing list