km/common: fix initial_boot_bank for bootpackages
authorThomas Herzmann <thomas.herzmann@keymile.com>
Fri, 8 Apr 2011 02:47:41 +0000 (02:47 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 10 May 2011 21:17:36 +0000 (23:17 +0200)
commite80ab3e661428149105b5454c6111d17ddfb3b40
tree38cad9b003aed05c036c28d0e48ce5df3995680d
parent486c1f6e7e47c144443a8317a7ce90b6d546cd4e
km/common: fix initial_boot_bank for bootpackages

The initial_boot_bank can be set when more than one application is
used in a bootpackage. But a value n <> 0 never led to booting from
bank n. Instead, bank 0 was booted. This patch fixes this.

Signed-off-by: Thomas Herzmann <thomas.herzmann@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Acked-by: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>
cc: Detlev Zundel <dzu@denx.de>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
include/configs/keymile-common.h