From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 11 Apr 2011 22:41:48 +0200 Subject: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection In-Reply-To: <1295951175-3635-1-git-send-email-holger.brunck@keymile.com> References: <1295951175-3635-1-git-send-email-holger.brunck@keymile.com> Message-ID: <20110411204148.2600E151F83@gemini.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 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(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*". - Linus Torvalds in <3itc77$9lj@ninurta.fer.uni-lj.si>