[U-Boot] frescale NAND FLASH problems

Scott Wood scottwood at freescale.com
Tue Dec 2 20:37:40 CET 2008


Carlos kescuin wrote:
> Hi, everyone:
> 
> I'm working with u-boot 2008 version for a freescale M5329EVB.

Which version?  There were multiple releases in 2008.

> 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

Please try head-of-tree; this has been fixed.

-Scott


More information about the U-Boot mailing list