]> git.ipfire.org Git - people/ms/u-boot.git/commit
arm/mgcoge3un: check dip_switch at startup
authorHolger Brunck <holger.brunck@keymile.com>
Fri, 13 Nov 2015 14:01:16 +0000 (15:01 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:28:48 +0000 (15:28 -0500)
commite23fde7d1f54b9fb2661a895b08f4a74c5a2459a
tree12dc57bcfdadf78194f8de0c3c961a58c57d2009
parent9ff739e42257099a797572bf21a218ee526c58df
arm/mgcoge3un: check dip_switch at startup

Similar to kmcoge5un we need to check the dip switch at startup
connected to the kirkwood at MPP43. If it's set we need to set the
actual_bank to zero to boot from SW bank zero. Additional to kmcoge5un
we need to check also the pin in misc_init to decide wether we wait for
the ne to start or not. If the dip_switch is set we don't wait and
continue immediately.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/km_arm/km_arm.c