drivers/mtd/nand/spia.c broken ?

Thomas Gleixner gleixner at autronix.de
Thu Mar 21 13:02:38 EST 2002


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 <gleixner at autronix.de>
autronix automation http://www.autronix.de




More information about the linux-mtd mailing list