[U-Boot] [PATCHv2 3/3] 83xx, kmeter1: added NAND support
Stefan Roese
sr at denx.de
Mon Jul 13 11:57:33 CEST 2009
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: office at denx.de
=====================================================================
More information about the U-Boot
mailing list