]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/pn62/cmd_pn62.c
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
[karo-tx-uboot.git] / board / pn62 / cmd_pn62.c
index 10d0df63a8c5b8983c9db3e2718ce77420b2cd45..ff5d63ee121bb234f15c3409cd2458f6c7a2c795 100644 (file)
@@ -152,12 +152,13 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        rcode = do_bootm (cmdtp, 0, 1, local_args);
     }
 
-#ifdef CONFIG_AUTOSCRIPT
+#ifdef CONFIG_SOURCE
     if (load_addr) {
        char *s;
 
        if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
-               printf ("Running autoscript at addr 0x%08lX", load_addr);
+               printf ("Running \"source\" command at addr 0x%08lX",
+                       load_addr);
 
                s = getenv ("autoscript_uname");
                if (s)
@@ -165,7 +166,7 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
                else
                        puts (" ...\n");
 
-               rcode = autoscript (load_addr, s);
+               rcode = source (load_addr, s);
        }
     }
 #endif