]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_source.c
common/menu.c: Fix build warning
[karo-tx-uboot.git] / common / cmd_source.c
index 965b8b1b04534483e869812282753d962b492af2..16a627a3dd5def7796ade9d30e5638d52fb27046 100644 (file)
@@ -199,7 +199,7 @@ source (ulong addr, const char *fit_uname)
 /**************************************************/
 #if defined(CONFIG_CMD_SOURCE)
 int
-do_source (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+do_source (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        ulong addr;
        int rcode;
@@ -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