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>
This commit is contained in:
committed by
Wolfgang Denk
parent
d3f4941874
commit
3202d33169
@@ -222,21 +222,6 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
|
||||
rcode = do_bootm (cmdtp, 0, 1, local_args);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SOURCE
|
||||
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");
|
||||
|
||||
show_boot_progress (83);
|
||||
rcode = source (load_addr, s);
|
||||
}
|
||||
#endif
|
||||
if (rcode < 0)
|
||||
show_boot_progress (-83);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user