[U-Boot] [PATCH 02/10] km/common: add test sw starting variable

Holger Brunck holger.brunck at keymile.com
Mon Jun 6 10:22:13 CEST 2011


From: Thomas Herzmann <thomas.herzmann at keymile.com>

The test SW is started when the test_bank variable is set.

Signed-off-by: Thomas Herzmann <thomas.herzmann at keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
cc: Heiko Schocher <hs at denx.de>
cc: Wolfgang Denk <wd at denx.de>
Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
---
 include/configs/km/keymile-common.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 8839ccb..c40a541 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -223,6 +223,8 @@
 	"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
-- 
1.7.1



More information about the U-Boot mailing list