]> git.ipfire.org Git - people/ms/u-boot.git/commit
ppc, mgcoge: add DIP switch detection
authorAndreas Huber <andreas.huber@keymile.com>
Tue, 25 Jan 2011 10:26:15 +0000 (11:26 +0100)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Apr 2011 20:41:37 +0000 (22:41 +0200)
commit91a3c14cd0edb7cf427eb025ae25920c8546767c
tree41bb688d771f22cf1d624ddce7ac9861f9c39536
parent086f09150d88a9bfe01b697900dcada6056d854f
ppc, mgcoge: add DIP switch detection

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 <andreas.huber@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
board/keymile/mgcoge/mgcoge.c
include/configs/mgcoge.h