
31 Jan
2006
31 Jan
'06
5:34 p.m.
This patch fixes a problem when writing an amount of data superior to a block size. Writing part seems to be correct. But when re-booting the board, bad block scan is performed and blocks following the first one you wrote are marked bad...
The problem seems to be in nand_write_ecc function in drivers/nand/nand_base.c source file where oob variable is not reset after reaching a block boundary, so that wrong values are written in next block oobs.
Hope it's clear enough...
This patch is applied against testing-NAND git branch.
CHANGELOG Patch by Nicolas Lacressonniere 31 January 2006 * Fix bad block scan problem when writing an amount of data superior to nand block size