diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-09-16 21:38:10 -0500 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-03 09:04:31 -0500 |
commit | 61c83b7bd22077b1367a72a5e15f65419871f027 (patch) | |
tree | 026905fafc99522ffc035f9c4f1b148a7db2dd55 /board/pn62 | |
parent | 60985271865c25cda9f580c697762b37955b3fe6 (diff) |
Remove deprecated 'autoscr' command/variables
The more standard 'source' command provides identical functionality to
the autoscr command.
Environment variable names/values on the MVBC_P, MVBML7, kmeter1,
mgcoge, and km8xx boards are updated to no longer refernce 'autoscr'.
The 'autoscript' and 'autoscript_uname' environment variables are
also removed.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/pn62')
-rw-r--r-- | board/pn62/cmd_pn62.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/board/pn62/cmd_pn62.c b/board/pn62/cmd_pn62.c index a989351722..43295d6e36 100644 --- a/board/pn62/cmd_pn62.c +++ b/board/pn62/cmd_pn62.c @@ -152,24 +152,6 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) rcode = do_bootm (cmdtp, 0, 1, local_args); } -#ifdef CONFIG_SOURCE - if (load_addr) { - char *s; - - if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) { - printf ("Running \"source\" command at addr 0x%08lX", - load_addr); - - s = getenv ("autoscript_uname"); - if (s) - printf (":%s ...\n", s); - else - puts (" ...\n"); - - rcode = source (load_addr, s); - } - } -#endif return rcode; } |