From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 13 Jul 2009 11:57:33 +0200 Subject: [U-Boot] [PATCHv2 3/3] 83xx, kmeter1: added NAND support In-Reply-To: <4A5B0483.3060407@denx.de> References: <4A584AFC.6080005@invitel.hu> <200907131120.31201.sr@denx.de> <4A5B0483.3060407@denx.de> Message-ID: <200907131157.34023.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 13 July 2009 11:55:15 Heiko Schocher wrote: > >> +#include > >> + > >> +#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 =====================================================================