From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from TX2EHSOBE001.bigfish.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Cybertrust SureServer Standard Validation CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id BA5A4B70A7 for ; Thu, 9 Dec 2010 09:26:14 +1100 (EST) Received: from mail40-tx2 (localhost.localdomain [127.0.0.1]) by mail40-tx2-R.bigfish.com (Postfix) with ESMTP id BE6AF44170C for ; Wed, 8 Dec 2010 22:26:04 +0000 (UTC) Received: from TX2EHSMHS029.bigfish.com (unknown [10.9.14.253]) by mail40-tx2.bigfish.com (Postfix) with ESMTP id 970221A58052 for ; Wed, 8 Dec 2010 22:26:04 +0000 (UTC) Received: from de01smr02.am.mot.com (de01smr02.freescale.net [10.208.0.151]) by az33egw02.freescale.net (8.14.3/8.14.3) with ESMTP id oB8MQ3Xa018150 for ; Wed, 8 Dec 2010 15:26:03 -0700 (MST) Received: from az33exm25.fsl.freescale.net (az33exm25.am.freescale.net [10.64.32.16]) by de01smr02.am.mot.com (8.13.1/8.13.0) with ESMTP id oB8MiIW2025792 for ; Wed, 8 Dec 2010 16:44:19 -0600 (CST) Date: Wed, 8 Dec 2010 16:25:59 -0600 From: Scott Wood To: Mark Mason Subject: Re: MPC831x (and others?) NAND erase performance improvements Message-ID: <20101208162559.26e40cf2@udp111988uds.am.freescale.net> In-Reply-To: <20101208220245.GB26836@postdiluvian.org> References: <20101207145153.540da45a@udp111988uds.am.freescale.net> <20101208111839.1cf95553@udp111988uds.am.freescale.net> <20101208192616.GA24560@postdiluvian.org> <20101208135928.0278f97d@udp111988uds.am.freescale.net> <20101208142551.19ea2333@udp111988uds.am.freescale.net> <20101208220245.GB26836@postdiluvian.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 8 Dec 2010 17:02:45 -0500 Mark Mason wrote: > I don't think that using a software NAND controller instead of the LBC > FCM mode is all that bad. Again, I haven't actually done it, so check > the MTD docs, but I'm pretty sure the software is meant to do that, so > it doesn't even really constitute a "fix". Assuming that it is > supported then I doubt that configuring the NAND layer to use your > setup would be any harder than configuring the FCM. The MTD layer supports some really simple NAND controllers, but what do you mean by not having a controller at all? Hooking everything up to GPIO? Using UPM? There is already a UPM NAND driver, BTW. You would lose hardware ECC and the ability to be interrupt-driven (the latter should be possible with SW changes, using GPIO interrupts). -Scott