From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 22 Feb 2010 22:20:58 +0100 (CET) From: Thomas Gleixner To: Maxim Levitsky Subject: Re: [PATCH 10/15] MTD: nand: make reads using MTD_OOB_RAW affect only ECC validation In-Reply-To: <1266863982-5258-11-git-send-email-maximlevitsky@gmail.com> Message-ID: References: <1266863982-5258-1-git-send-email-maximlevitsky@gmail.com> <1266863982-5258-11-git-send-email-maximlevitsky@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Alex Dubov , Vitaly Wool , joern , linux-kernel , stanley.miao@windriver.com, linux-mtd , David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 22 Feb 2010, Maxim Levitsky 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 just like MTD_OOB_PLACE, but doesn't do ECC validation Is this tested against existing user space tools like nanddump ? Can I still get the raw data from flash ? Thanks, tglx