additional error checks for AG-AND erase/write
Thomas Gleixner
tglx at linutronix.de
Fri Jan 21 04:27:38 EST 2005
On Thu, 2005-01-20 at 16:35 -0600, David A. Marlin wrote:
> Attached is a patch that I think implements what you described. Please
> let me know if I've missed anything or gone astray in the details.
Looks good.
> Note: I changed a few literals to defined symbols in 'nand_base.c'.
> Please let me know if you would prefer this in a separate patch (or not
> at all).
If it's not too much work it would be nice when you can do this change
first.
> @@ -1052,6 +1062,30 @@
> static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
> size_t * retlen, u_char * buf, u_char * oob_buf, struct nand_oobinfo *oobsel)
> {
> + return do_nand_read_ecc(mtd, from, len, retlen, buf, oob_buf, oobsel, 0xff);
> +}
Can you please change the call in nand_read too, so it calls
do_nand_read_ecc directly instead of doing the double call ?
tglx
More information about the linux-mtd
mailing list