From mboxrd@z Thu Jan 1 00:00:00 1970 From: Holger Brunck Date: Thu, 05 May 2011 09:12:42 +0200 Subject: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection In-Reply-To: <20110504200122.2824B126DAA@gemini.denx.de> References: <1295951175-3635-1-git-send-email-holger.brunck@keymile.com> <20110504200122.2824B126DAA@gemini.denx.de> Message-ID: <4DC24DEA.7010201@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 05/04/2011 10:01 PM, Wolfgang Denk wrote: > Dear Holger Brunck, > > In message <1295951175-3635-1-git-send-email-holger.brunck@keymile.com> you wrote: >> From: Andreas Huber >> >> This reads the DIP switch on mgcoge. The DIP switch is connected to >> the BFTICU (0x40000089) FPGA. If the DIP switch is set the environment >> variable 'actual_bank' is set to 0 and starts the SW in bank0. >> >> Signed-off-by: Andreas Huber >> Signed-off-by: Holger Brunck >> --- >> board/keymile/mgcoge/mgcoge.c | 18 ++++++++++++++++++ >> include/configs/mgcoge.h | 5 +++++ >> 2 files changed, 23 insertions(+), 0 deletions(-) > > This patch breaks compiling of the mgcoge2ne board: > > Configuring for mgcoge2ne board... > mgcoge.c: In function 'last_stage_init': > mgcoge.c:305: error: 'CONFIG_SYS_BFTICU_BASE' undeclared (first use in this function) > mgcoge.c:305: error: (Each undeclared identifier is reported only once > mgcoge.c:305: error: for each function it appears in.) > Argh sorry. > > Please fix. > In the already posted patch serie http://lists.denx.de/pipermail/u-boot/2011-May/091976.html the problem is fixed, should I repost the patch powerpc/km82xx: rework DIP switch detection as a standalone patch and rebase the serie or can you take the whole serie? Best regards Holger Brunck