From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pd953a70e.dip.t-dialin.net ([217.83.167.14] helo=thomas.tec.autronix.de) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 16o6ea-00077g-00 for ; Thu, 21 Mar 2002 17:47:08 +0000 Message-Id: <200203211802.g2LI2dM12087@thomas.tec.autronix.de> Content-Type: text/plain; charset="iso-8859-15" From: Thomas Gleixner Reply-To: gleixner@autronix.de To: rkaiser@sysgo.de, Robert Kaiser Subject: Re: drivers/mtd/nand/spia.c broken ? Date: Thu, 21 Mar 2002 19:02:38 +0100 Cc: linux-mtd@lists.infradead.org References: <200203211538.g2LFcVw31556@dagobert.svc.sysgo.de> In-Reply-To: <200203211538.g2LFcVw31556@dagobert.svc.sysgo.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: On Donnerstag, 21. März 2002 16:39 , Robert Kaiser wrote: > Hi, > has anyone tried to compile this file lately ? Not me. I just adjusted all the changes we made in nand.c. > I'm only asking because it contains some IMO strange stuff: > Line 38 following: #define SPIA_XX = > Line 38 vs. 55, 39 vs 56: xxx_ADDR <> xxx_BASE I don't know, where the SPIA_IO_BASE comes from. Maybe from a header, which is not in the ARM kernel tree. But it should represent the virtual base address of EP7212 IO adress space. > Line 161: return = -ENOMEM This is the standard return, if kmalloc failes :) The data cache was introduced due to the changes in nand.c, which were made for JFFS2 on NAND -- Thomas _________________________________ Thomas Gleixner autronix automation http://www.autronix.de