Hi Miquel, On 20-01-09 17:12, Miquel Raynal wrote: > Hi Marco, > > > > > > > > > > > I think, this should be NAND_ECCREQ(4, 512). > > > > > > > > I don't thinks so, according the datasheet [1], section ECC Protection: > > > > > > > > 8<-------------------------------------- > > > > During a PROGRAM operation, the device calculates an ECC code on the 2k > > > > page in the cache register, before the page is written to the NAND > > > > Flash array. The ECC code is stored in the spare area of the page. > > > > 8<-------------------------------------- > > > > > > Looking at "Table 11: ECC Protection" it really seems to be 4bit/512. I > > > think the sentence you quoted just means the ECC is calculated for each > > > 512 bytes block in the page and written at once (no subpage write). > > > > Yes that part confuses me a bit and than I used the description above.. > > I will change that, thanks for the explanation. > > > > > BTW, there's an easy way to know who's right => nandbiterrs. > > > > Thanks for that hint :) > > > > Regards, > > Marco > > Would you mind sending an updated version of this patch please? Of course, thanks for the ping. Regards, Marco > > Thanks! > Miquèl > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/