[U-Boot-Users] New NAND code draft

Wolfgang Denk wd at denx.de
Mon Jun 7 01:24:37 CEST 2004


In message <40924100.9000800 at intracom.gr> you wrote:
>
> In the attached patch you can see the progress of my work
> in the NAND rewrite.
...
> I would appreciate it if you could take a look and report
> back to me.

It doesn't even compile for me:

-> MAKEALL PPChameleonEVB_MODEL_ME
... MEDIUM model
Configuring for PPChameleonEVB board...
cmd_nand.c: In function `nand_write_page_oob':
cmd_nand.c:974: warning: unused variable `i'
cmd_nand.c: In function `nand_erase':
cmd_nand.c:1233: warning: implicit declaration of function `nand_mark_bad_sector'
cmd_nand.c: At top level:
cmd_nand.c:863: warning: `nand_write_page' defined but not used
common/libcommon.a(cmd_nand.o)(.text+0x1c7c): In function `nand_erase':
/tmp/u-boot/common/cmd_nand.c:1243: undefined reference to `nand_mark_bad_sector'
common/libcommon.a(cmd_nand.o)(.text+0x1f90): In function `nand_write_ecc':
/tmp/u-boot/common/cmd_nand.c:1407: undefined reference to `nand_mark_bad_sector'
common/libcommon.a(cmd_nand.o)(.text+0x1fec):/tmp/u-boot/common/cmd_nand.c:1380: undefined reference to `nand_mark_bad_sector'
make: *** [u-boot] Error 1
ppc_8xx-size: u-boot: No such file or directory
->

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
When all is said and done, more is said than done.




More information about the U-Boot mailing list