Re: [PATCH 10/17] MTD: nand: make reads using MTD_OOB_RAW affect only ECC validation

From: Vitaly Wool
Date: Fri Feb 05 2010 - 03:56:13 EST


On Fri, Feb 5, 2010 at 12:30 AM, Maxim Levitsky <maximlevitsky@xxxxxxxxx> wrote:
> This changes the behavier of MTD_OOB_RAW. It used to read both OOB and data
> to the data buffer, however you would still need to specify the dummy oob buffer.
>
> This is only used in one place, but makes it hard to read data+oob without ECC
> test, thus I removed that behavier, and fixed the user.
>
> Now MTD_OOB_RAW behaves like MTD_OOB_PLACE, but doesn't do ECC validation
>
> Signed-off-by: Maxim Levitsky <maximlevitsky@xxxxxxxxx>
> ---
>  drivers/mtd/nand/nand_base.c |    5 -----
>  drivers/mtd/nand/nand_bbt.c  |   26 ++++++++++++++++++++++----
>  include/linux/mtd/mtd.h      |    4 +---
>  3 files changed, 23 insertions(+), 12 deletions(-)

Could you please provide a clearer description of why you think this
is necessary?

Thanks,
Vitaly
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/