km/common: check test_bank and testpin for testboot
authorThomas Herzmann <thomas.herzmann@keymile.com>
Fri, 4 May 2012 08:55:58 +0000 (10:55 +0200)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 15 Jun 2012 22:12:52 +0000 (17:12 -0500)
commitc1b3d84168ad423b3932f671c0863327fb005599
treec75c7c013ec70f4d640adbe880d043fcaa5511bf
parent13fff2229178ab3d7f8d6b8fda37873c7a8cb1eb
km/common: check test_bank and testpin for testboot

If the testpin is asserted, first check if a test_bank
variable is defined before trying to boot this
test_bank.

Signed-off-by: Thomas Herzmann <thomas.herzmann@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
board/keymile/common/common.c
include/configs/km/keymile-common.h