mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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:
parent
d3f4941874
commit
3202d33169
18 changed files with 28 additions and 124 deletions
|
@ -236,22 +236,4 @@ U_BOOT_CMD(
|
|||
"unit name in the form of addr:<subimg_uname>"
|
||||
#endif
|
||||
);
|
||||
|
||||
/*
|
||||
* Keep for now for backward compatibility;
|
||||
* remove later when support for "autoscr" goes away.
|
||||
*/
|
||||
static int
|
||||
do_autoscr (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||
{
|
||||
printf ("\n### WARNING ### "
|
||||
"\"autoscr\" is deprecated, use \"source\" instead ###\n\n");
|
||||
return do_source (cmdtp, flag, argc, argv);
|
||||
}
|
||||
|
||||
U_BOOT_CMD(
|
||||
autoscr, 2, 0, do_autoscr,
|
||||
"DEPRECATED - use \"source\" command instead",
|
||||
""
|
||||
);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue