On Monday 13 July 2009 11:55:15 Heiko Schocher wrote: > >> +#include <common.h> > >> + > >> +#if defined(CONFIG_CMD_NAND) > > > > This #if shouldn't be necessary. > > Hmm.. keymile has per default deactivated NAND support on this board, > so I think it is necessary (or I make this dependence in the board > makefile ...)
If some board variants don't enable NAND support, this file should not be compiled then. This should be done via the Makefile. So just set CONFIG_NAND_KMETER1 in the board config header when NAND really is enabled. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot