From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ch1ehsobe003.messaging.microsoft.com ([216.32.181.183] helo=ch1outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SOx6E-0002SU-DF for linux-mtd@lists.infradead.org; Mon, 30 Apr 2012 20:21:34 +0000 Message-ID: <4F9EF447.6060506@freescale.com> Date: Mon, 30 Apr 2012 15:21:27 -0500 From: Scott Wood MIME-Version: 1.0 To: Brian Norris Subject: Re: [PATCH v3 09/10] mtd: nand: utilize oob_required parameter References: <1335576594-25267-1-git-send-email-computersforpeace@gmail.com> <1335576594-25267-10-git-send-email-computersforpeace@gmail.com> <20120429154707.01c7be55@pixies.home.jungo.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org, David Woodhouse , Shmulik Ladkani , Artem Bityutskiy List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 04/30/2012 02:59 PM, Brian Norris wrote: > I see. This is the kind of issue I was alluding to back in v2: > > "For instance, is there any sort of hardware that expects the whole > page + OOB to be read via chip->read_buf() for all reads..." > > This situation comes up if NAND_NO_AUTOINCR is not set. But really, it > looks like we *always* have NAND_NO_AUTOINCR enabled, and so we > *always* send a new READ cmd. I know that it's possible for some board > driver to override this, but I don't see that anywhere... If it's never used, maybe just remove autoincrement support altogether and simplify the code? -Scott