Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753321AbZDGXId (ORCPT ); Tue, 7 Apr 2009 19:08:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751621AbZDGXIW (ORCPT ); Tue, 7 Apr 2009 19:08:22 -0400 Received: from smtp121.sbc.mail.sp1.yahoo.com ([69.147.64.94]:36832 "HELO smtp121.sbc.mail.sp1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751551AbZDGXIV (ORCPT ); Tue, 7 Apr 2009 19:08:21 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=RAP8ReLxflgC4wsIbmdYICJFhcdg8SU8tnGgQZF+ESvGdl+gT6K13c6xO+waLDYwhSWj5lWEie4xItXZkWWrQJx3rBGFOgGOrNV+LD8U7rnnvo7CvANWq9kQwBOKHXaw22u1WqVMBhJu7Kd2W2M5LKbt5iZ7hlNuXcNOPAgE0Js= ; X-YMail-OSG: qG4I.8UVM1lJorxNvOYpTLExPaMVjTlAm6MFG9TOuBSskLvWWVG8hfQKOZZ_U5m1FnueX8BKvcrQEwvG8loN1tUoa0xoO9.oEkwyFdkvigFAxjgytIVZnArqluK59JI1uSFmTVgOZIij1vLy53xmqvBYWxEL.KUE5mCGiAfAC6hYeHEQqzqsQAUz6XugPIUMzBzq8ExGllmgAbI5o4LxWztsCCICwvBzajDxy.kZyhdAbWNSFo.PVgozu9Q4NW7UIMfi3JSkv7SFOBoj44Z4xmjBKI4ECLiTxavOvshyrdMSbKQhc6tP X-Yahoo-Newman-Property: ymail-3 From: David Brownell To: Thomas Gleixner , "Narnakaje, Snehaprabha" Subject: Re: [PATCH] MTD-NAND: Changes to read_page APIs to support NAND_ECC_HW_SYNDROME mode on TI DaVinci DM355 Date: Tue, 7 Apr 2009 16:08:18 -0700 User-Agent: KMail/1.9.10 Cc: "davinci-linux-open-source@linux.davincidsp.com" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <1238601784-9563-1-git-send-email-nsnehaprabha@ti.com> <7A436F7769CA33409C6B44B358BFFF0CFFAA9253@dlee02.ent.ti.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904071608.19123.david-b@pacbell.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 19 On Tuesday 07 April 2009, Thomas Gleixner wrote: > What you need is a NAND_ECC_HW_OOB_FIRST mode, which uses the > NAND_ECC_HW write function and implements a separate read function > which reads the oob and then reads the data chunks. That sounds about right, and it should address the issues I raised earlier in this thread. Though I might name it differently. Reason being that the "read OOB first" bit is only needed when there's more than one ecc.step ... small page chips won't need it. Maybe it would suffice to map that mode to ECC_HW in those cases. - Dave -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/