linux-2.4.6-pre8/drivers/mtd/nand/spia.c: undefined symbols
Steven J. Hill
sjhill at cotw.com
Mon Jul 2 08:38:59 EDT 2001
"Adam J. Richter" wrote:
>
> linux-2.4.6-pre8/drivers/mtd/nand/spia.c references four
> undefined symbols, presumably intended to be #define constants,
> although I am not sure what their values are supposed to be:
>
> IO_BASE
> FIO_BASE
> PEDR
> PEDDR
>
The way that I architected the raw NAND flash device driver was to
break it into 2 parts. 'nand.c' contains the actual driver code and
is considered to be device independent. 'spia.c' is the device
dependent part. You should write your own version of 'spia.c' and
"simply" fill in the addresses for the IO address and control
register address depending on your specific hardware. The above
symbols are only defined for my specific hardware. They should be
changed to values used on your hardware platform. Let me know if
you need further assistance.
-Steve
--
Steven J. Hill - Embedded SW Engineer
More information about the linux-mtd
mailing list