X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_load.c;h=d6bbb786da436456549a8d2b8966cf7d54f40e98;hb=64a0a4995e79ef9813bb51d5f1ff35ae5dabfc7e;hp=73fbf743c9b7097116cf31bf59f06e628cd7b26f;hpb=a89c33db96a1e55319a286dd4c3c05ca64ac6bfd;p=u-boot diff --git a/common/cmd_load.c b/common/cmd_load.c index 73fbf743c9..d6bbb786da 100644 --- a/common/cmd_load.c +++ b/common/cmd_load.c @@ -513,24 +513,6 @@ int do_load_serial_bin (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } } -#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; }