Received: from imladris.demon.co.uk ([193.237.130.41]) by pentafluge.infradead.org with esmtp (Exim 4.22 #5 (Red Hat Linux)) id 1AEDYH-0007aS-NG for ; Mon, 27 Oct 2003 20:01:25 +0000 From: David Woodhouse To: Alice Hennessy In-Reply-To: <3F9D6328.547A39A6@mvista.com> References: <3F984931.E6409ED7@mvista.com> <1066981292.29915.584.camel@hades.cambridge.redhat.com> <3F9D6328.547A39A6@mvista.com> Message-Id: <1067284806.16241.2.camel@imladris.demon.co.uk> Mime-Version: 1.0 Date: Mon, 27 Oct 2003 20:00:06 +0000 Content-Type: text/plain 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: , On Mon, 2003-10-27 at 10:25 -0800, Alice Hennessy wrote (modulo newlines): > Yes, I am looking at the current code which is more modular so it > gives me hope. > There are 2 nand chips on the board. If you want to read from the > 0x100th byte on chip 1 you need to do readb(chip1_base + 0x100); if > you want to write the 0x10000th byte on chip 2 you need to do > writeb(chip2_base + 0x10000,bytedata). > The chips are 16M X 8 bit and are mapped in a contiguous 32 M byte > memory space with 0-16M for chip1 and 16-32M for chip2. That's weird. How are the out-of-band areas accessed? How do you send commands like READ_ID and ERASE? -- dwmw2