From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gateway-1237.mvista.com ([12.44.186.158] helo=av.mvista.com) by pentafluge.infradead.org with esmtp (Exim 4.22 #5 (Red Hat Linux)) id 1AEEnw-0008Gl-Sh for ; Mon, 27 Oct 2003 21:21:37 +0000 Sender: ahennessy@mvista.com Message-ID: <3F9D8B54.FFB44876@mvista.com> Date: Mon, 27 Oct 2003 13:17:08 -0800 From: Alice Hennessy MIME-Version: 1.0 To: David Woodhouse References: <3F984931.E6409ED7@mvista.com> <1066981292.29915.584.camel@hades.cambridge.redhat.com> <3F9D6328.547A39A6@mvista.com> <1067284806.16241.2.camel@imladris.demon.co.uk> <1067288106.16391.5.camel@imladris.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: linux-mtd@lists.infradead.org Subject: Re: Different nand interface List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , David Woodhouse wrote: > What is wrong with your mail user agent? It's customary to wrap lines at > seventy-something characters; not to wrap them at 90 then again at 70, > giving alternate 70-char and 20-char lines... :) > > On Mon, 2003-10-27 at 12:43 -0800, Alice Hennessy wrote: > > The hardware logic uses register access for special commands. > > Readid, > > status does > > 2 writes to a register, one for address (to distinquish which flash), > > one for > > command and one more > > to read. Erase takes 2 writes to a register, address then command. > > The > > out-of-band access > > uses a register to give a command and then the out-of-band data is > > read using > > > > readb with offset. > > That's just bizarre. I don't think I want to ask _why_ they did this. > > You may be able to massage this into the generic NAND code; you can > override nand_command() completely. I suspect you won't be using much of > the generic code if you do that though. You might end up just writing a > standalone driver. > > -- > dwmw2 I'll try to fix the email thing :-) Thanks for the quick response. I'll weigh the massage effort with any future maintenance effort saved. Alice