NAND Flash verify across block boundaries
PATCH 1/1 NAND Flash verify across block boundaries
Hello list,
inside the automatic U-Boot patch tracking system a new ticket [DNX#2006093042000016] was created:
<snip>
Quoted 24 lines
Hello,
This patch addresses a problem when
CONFIG_MTD_NAND_VERIFY_WRITEis defined
and the write crosses a block boundary. The pointer to the verification buffer (bufstart) is not being updated to reflect the starting of the new
block so the verification of the second block fails.Regards,
NickCHANGELOG:
* Fix NAND FLASH page verification across block boundaries
drivers/nand/nand_base.c +0
-0
drivers/nand/nand_base.c static int nand_write_ecc (struct mtd_in · line 1719
Quoted 7 lines
drivers/nand/nand_base.c +1
-0@@ -1713,6 +1713,7 @@ static int nand_write_ecc (struct mtd_in goto out; } *retlen = written; + bufstart = (u_char *) &buf[written]; ofs = autoplace ? mtd->oobavail : mtd->oobsize;if (eccbuf)
</snip>
Your U-Boot support team