[U-Boot] frescale NAND FLASH problems

Carlos kescuin kescuin at gmail.com
Mon Dec 1 12:11:04 CET 2008


Hi, everyone:

I'm working with u-boot 2008 version for a freescale M5329EVB. I've
configured the IDE and Compact flash modules but problems are with NANDFLASH

When i try to add #define NANDFLASH_SIZE    16 to my sistem and compile I
get this error:

nand.c: In function 'nand_hwcontrol':
nand.c:50: error: 'NAND_CTL_SETNCE' undeclared (first use in this function)
nand.c:50: error: (Each undeclared identifier is reported only once
nand.c:50: error: for each function it appears in.)
nand.c:51: error: 'NAND_CTL_CLRNCE' undeclared (first use in this function)
nand.c:53: error: 'NAND_CTL_SETCLE' undeclared (first use in this function)
nand.c:56: error: 'NAND_CTL_CLRCLE' undeclared (first use in this function)
nand.c:59: error: 'NAND_CTL_SETALE' undeclared (first use in this function)
nand.c:62: error: 'NAND_CTL_CLRALE' undeclared (first use in this function)
nand.c:65: error: 'NAND_CTL_SETWP' undeclared (first use in this function)
nand.c:68: error: 'NAND_CTL_CLRWP' undeclared (first use in this function)
nand.c: In function 'board_nand_init':
nand.c:106: error: 'struct nand_chip' has no member named 'eccmode'
nand.c:107: error: incompatible types in assignment
nand.c:109: error: 'struct nand_chip' has no member named 'write_byte'
make[1]: *** [nand.o] Error 1
make[1]: se sale del directorio
`/home/carlos/Escritorio/u-boot-ide-experimental/board/freescale/m5329evb'
make: *** [board/freescale/m5329evb/libm5329evb.a] Error 2


Has any body got a solution to get my NAND FLASH detected.

Thanks in advance


More information about the U-Boot mailing list