arm/km: add implementation for read_dip_switch
authorThomas Herzmann <thomas.herzmann@keymile.com>
Thu, 5 Jul 2012 05:05:10 +0000 (05:05 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:37 +0000 (14:07 +0200)
commitb8cf7cc8860d30b85b08377183688bf9564896bf
tree517542249a8d81efeba24b60365992aecb4846fb
parentdbdee4ca591a3bf19446d8ab89285835e210b378
arm/km: add implementation for read_dip_switch

Add a function to read the dip_switch on kmcoge5un. If the
switch is set the actual_bank is set to 0 and this SW is
booted.

Signed-off-by: Thomas Herzmann <thomas.herzmann@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
board/keymile/km_arm/km_arm.c
include/configs/km_kirkwood.h