summaryrefslogtreecommitdiff
path: root/board/cray/L1/L1.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-04-01 23:34:12 +0200
committerWolfgang Denk <wd@denx.de>2009-04-03 22:01:42 +0200
commit74de7aefd79690bae8cf5a5120f5962d444be089 (patch)
tree18d3638b971717b3bafbb31f6b5cbf43f8a41457 /board/cray/L1/L1.c
parent78237df55248034a2d7c2daea992b9dbe7ca8e96 (diff)
downloadu-boot-imx-74de7aefd79690bae8cf5a5120f5962d444be089.zip
u-boot-imx-74de7aefd79690bae8cf5a5120f5962d444be089.tar.gz
u-boot-imx-74de7aefd79690bae8cf5a5120f5962d444be089.tar.bz2
Add "source" command; prepare removal of "autoscr" command
According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before - The old "autoscr" command name is kept as an alias for compatibility - Command sequences, script files atc. have been adapted to use the new "source" command - Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/cray/L1/L1.c')
-rw-r--r--board/cray/L1/L1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cray/L1/L1.c b/board/cray/L1/L1.c
index 1c82bdf..8a06ecc 100644
--- a/board/cray/L1/L1.c
+++ b/board/cray/L1/L1.c
@@ -164,7 +164,7 @@ int misc_init_r (void)
setenv ("ethaddr", e);
}
}
- sprintf (bootcmd,"autoscript %X",(unsigned)bootscript);
+ sprintf (bootcmd,"source %X",(unsigned)bootscript);
setenv ("bootcmd", bootcmd);
return (0);
}