diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-09-16 21:38:10 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-09-22 23:03:24 +0200 |
commit | 3202d33169df04da5cf3dea8c5ab0a902b90ecaa (patch) | |
tree | 8215ed57c642d2e2acea34d6556e4dbe45b85b1b /board/pn62 | |
parent | d3f4941874a20d8a390a36ba71335ae1db2f9ba0 (diff) | |
download | u-boot-3202d33169df04da5cf3dea8c5ab0a902b90ecaa.tar.gz u-boot-3202d33169df04da5cf3dea8c5ab0a902b90ecaa.tar.xz u-boot-3202d33169df04da5cf3dea8c5ab0a902b90ecaa.zip |
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; } |