]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_source.c
Remove deprecated 'autoscr' command/variables
[u-boot] / common / cmd_source.c
index 43e131592933346b0a36f53c014583b2ea526862..1424d3038c043aeddbe8b8bba96450de64335c26 100644 (file)
@@ -229,28 +229,11 @@ U_BOOT_CMD(
        "run script from memory",
        "[addr]\n"
        "\t- run script starting at addr\n"
-       "\t- A valid image header must be present\n"
+       "\t- A valid image header must be present"
 #if defined(CONFIG_FIT)
+       "\n"
        "For FIT format uImage addr must include subimage\n"
-       "unit name in the form of addr:<subimg_uname>\n"
+       "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",
-       "DEPRECATED - use \"source\" command instead\n"
-);
 #endif