diff options
author | Wolfgang Denk <wd@denx.de> | 2008-03-26 10:41:48 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-26 10:41:48 +0100 |
commit | b951f8d31711f3f10ad119ddcf5a3d0afe14d561 (patch) | |
tree | 950ca2e675ec92ea7b5610a3a2ea2b739f0aaab5 /common/cmd_load.c | |
parent | 218ca724c08ca8a649f0917cf201cf23d4b33f39 (diff) | |
parent | 27f33e9f45ef7f9685cbdc65066a1828e85dde4f (diff) |
Merge branch 'master_merge_new-image' of /home/tur/git/u-boot
Diffstat (limited to 'common/cmd_load.c')
-rw-r--r-- | common/cmd_load.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/common/cmd_load.c b/common/cmd_load.c index 204c3ebf19..1b75a7b5ec 100644 --- a/common/cmd_load.c +++ b/common/cmd_load.c @@ -521,8 +521,15 @@ int do_load_serial_bin (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) char *s; if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) { - printf("Running autoscript at addr 0x%08lX ...\n", load_addr); - rcode = autoscript (load_addr); + printf ("Running autoscript at addr 0x%08lX", load_addr); + + s = getenv ("autoscript_uname"); + if (s) + printf (":%s ...\n", s); + else + puts (" ...\n"); + + rcode = autoscript (load_addr, s); } } #endif |