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

login
register
mail settings
Submitter Holger Brunck
Date June 6, 2011, 8:22 a.m.
Message ID <1307348541-2466-3-git-send-email-holger.brunck@keymile.com>
Download mbox | patch
Permalink /patch/98813/
State Accepted
Commit 0333cfe618eb3ba8ce1001106bf5c3b9fe9af36e
Headers show

Comments

Holger Brunck - June 6, 2011, 8:22 a.m.
From: Thomas Herzmann <thomas.herzmann@keymile.com>

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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Wolfgang Denk - July 27, 2011, 9:43 p.m.
Dear Holger Brunck,

In message <1307348541-2466-3-git-send-email-holger.brunck@keymile.com> you wrote:
> From: Thomas Herzmann <thomas.herzmann@keymile.com>
> 
> 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 |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

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