]> git.sur5r.net Git - u-boot/commitdiff
km/common: add test sw starting variable
authorThomas Herzmann <thomas.herzmann@keymile.com>
Sun, 5 Jun 2011 22:22:13 +0000 (22:22 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 27 Jul 2011 21:43:17 +0000 (23:43 +0200)
The test SW is started when the test_bank variable is set.

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

index 8839ccb920b31eede4b3e4b3bca3bf80e54a6ead..c40a5417b1269638c2c0d5982b56daa98f225944 100644 (file)
        "backup_bank=0\0"                                               \
        "release=run newenv; reset\0"                                   \
        "pnvramsize=" xstr(CONFIG_KM_PNVRAM) "\0"                       \
+       "testbootcmd=setenv boot_bank ${test_bank}; "                   \
+               "run ${subbootcmds}; reset\0"                           \
        ""
 
 #ifndef CONFIG_KM_DEF_ENV