summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-09-16 21:38:10 -0500
committerWolfgang Denk <wd@denx.de>2009-09-22 23:03:24 +0200
commit3202d33169df04da5cf3dea8c5ab0a902b90ecaa (patch)
tree8215ed57c642d2e2acea34d6556e4dbe45b85b1b /board
parentd3f4941874a20d8a390a36ba71335ae1db2f9ba0 (diff)
downloadtalos-obmc-uboot-3202d33169df04da5cf3dea8c5ab0a902b90ecaa.tar.gz
talos-obmc-uboot-3202d33169df04da5cf3dea8c5ab0a902b90ecaa.zip
Remove deprecated 'autoscr' command/variables
The more standard 'source' command provides identical functionality to the autoscr command. Environment variable names/values on the MVBC_P, MVBML7, kmeter1, mgcoge, and km8xx boards are updated to no longer refernce 'autoscr'. The 'autoscript' and 'autoscript_uname' environment variables are also removed. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/LEOX/elpt860/README.LEOX2
-rw-r--r--board/matrix_vision/mvbc_p/mvbc_p_autoscript4
-rw-r--r--board/matrix_vision/mvblm7/mvblm7_autoscript4
-rw-r--r--board/musenki/README2
-rw-r--r--board/pn62/cmd_pn62.c18
5 files changed, 6 insertions, 24 deletions
diff --git a/board/LEOX/elpt860/README.LEOX b/board/LEOX/elpt860/README.LEOX
index 25524af69c..e8ab86717d 100644
--- a/board/LEOX/elpt860/README.LEOX
+++ b/board/LEOX/elpt860/README.LEOX
@@ -68,7 +68,6 @@ Type "run nfsboot" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
LEOX_elpt860: help
askenv - get environment variables from stdin
-autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
bootm - boot application image from memory
@@ -100,6 +99,7 @@ run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
+source - run script from memory
tftpboot- boot image via network using TFTP protocol
and env variables ipaddr and serverip
version - print monitor version
diff --git a/board/matrix_vision/mvbc_p/mvbc_p_autoscript b/board/matrix_vision/mvbc_p/mvbc_p_autoscript
index 1102354d68..9b21f30ece 100644
--- a/board/matrix_vision/mvbc_p/mvbc_p_autoscript
+++ b/board/matrix_vision/mvbc_p/mvbc_p_autoscript
@@ -26,7 +26,7 @@ if test ${oprofile} = yes;
then
setenv addprofile setenv bootargs \${bootargs} profile=\${profile}
fi
-if test ${autoscr_boot} != no;
+if test ${autoscript_boot} != no;
then
if test ${netboot} = yes;
then
@@ -44,5 +44,5 @@ then
echo "=== bootfromflash ==="
run cpdtb rundtb bootfromflash
else
- echo "=== boot stopped with autoscr_boot no ==="
+ echo "=== boot stopped with autoscript_boot no ==="
fi
diff --git a/board/matrix_vision/mvblm7/mvblm7_autoscript b/board/matrix_vision/mvblm7/mvblm7_autoscript
index 6f9357fd0d..dc385fde79 100644
--- a/board/matrix_vision/mvblm7/mvblm7_autoscript
+++ b/board/matrix_vision/mvblm7/mvblm7_autoscript
@@ -21,7 +21,7 @@ setenv set_static_nm setenv netmask \${static_netmask}
setenv set_static_gw setenv gatewayip \${static_gateway}
setenv set_ip setenv ip \${ipaddr}::\${gatewayip}:\${netmask}
setenv ramparam setenv bootargs root=/dev/ram0 ro rootfstype=squashfs
-if test ${autoscr_boot} != no;
+if test ${autoscript_boot} != no;
then
if test ${netboot} = yes;
then
@@ -39,5 +39,5 @@ then
echo "=== bootfromflash ==="
run cpdtb rundtb bootfromflash
else
- echo "=== boot stopped with autoscr_boot no ==="
+ echo "=== boot stopped with autoscript_boot no ==="
fi
diff --git a/board/musenki/README b/board/musenki/README
index 135a01aa0b..084ab54ff7 100644
--- a/board/musenki/README
+++ b/board/musenki/README
@@ -34,7 +34,6 @@ Out: serial
Err: serial
Hit any key to stop autoboot: 0
=> help
-autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
bootm - boot application image from memory
@@ -67,6 +66,7 @@ reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
+source - run script from memory
tftpboot- boot image via network using TFTP protocol
and env variables ipaddr and serverip
version - print monitor version
diff --git a/board/pn62/cmd_pn62.c b/board/pn62/cmd_pn62.c
index a989351722..43295d6e36 100644
--- a/board/pn62/cmd_pn62.c
+++ b/board/pn62/cmd_pn62.c
@@ -152,24 +152,6 @@ int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
rcode = do_bootm (cmdtp, 0, 1, local_args);
}
-#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;
}
OpenPOWER on IntegriCloud