Question on 'doc_read_ecc'...
If I am understanding things correctly, in 'doc_read_ecc' we prevent the caller from reading across a 512 byte boundary and that they cannot read more than 512 bytes at a time. Is this correct for DoC2xxx devices and should it be the case for NAND devices as well? I believe that for NAND devices it makes sense since VFS and filesystems on average assume a 512 byte sector size. Just looking for agreement on my thought process.
-Steve
Signature · 7 lines
Steven J. Hill - Embedded SW Engineer Public Key: 'finger [email protected]' FPR1: E124 6E1C AF8E 7802 A815 FPR2: 7D72 829C 3386 4C4A E17D To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 7 lines · [email protected] said:
If I am understanding things correctly, in '
doc_read_ecc' we prevent the caller from reading across a 512 byte boundary and that they cannot read more than 512 bytes at a time. Is this correct for DoC2xxx devices and should it be the case for NAND devices as well? I believe that for NAND devices it makes sense since VFS and filesystems on average assume a 512 byte sector size. Just looking for agreement on my thought process.
Scrap the limitation. It was OK when the only use of doc2000 was NFTL, but now it's broken. doc2000.c ought to do the right thing.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to [email protected]