summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-23 21:16:26 +0200
committerStefan Roese <sr@denx.de>2010-08-09 16:02:05 +0200
commit0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d (patch)
tree35446f4b83dee2f3519e6b304f63e5637d4bc73a /include/configs
parentb417260d871d4d8d336c160d95ed40cc8c0fb0fa (diff)
downloadu-boot-imx-0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d.zip
u-boot-imx-0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d.tar.gz
u-boot-imx-0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d.tar.bz2
ppc4xx: cleanup default environment for AMCC boards
None of the AMCC boards uses an embedded environment, so there is no need to run "saveenv" after updating U-Boot. Drop the redundant commands from the default environment. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/amcc-common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index 13a941e..23a859f 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -278,15 +278,13 @@
"load=tftp 200000 ${u-boot}\0" \
"update=protect off " xstr(CONFIG_SYS_MONITOR_BASE) " FFFFFFFF;" \
"era " xstr(CONFIG_SYS_MONITOR_BASE) " FFFFFFFF;" \
- "cp.b ${fileaddr} " xstr(CONFIG_SYS_MONITOR_BASE) " ${filesize};" \
- "setenv filesize;saveenv\0" \
+ "cp.b ${fileaddr} " xstr(CONFIG_SYS_MONITOR_BASE) " ${filesize}" \
"upd=run load update\0" \
#define CONFIG_AMCC_DEF_ENV_NAND_UPD \
"u-boot-nand=" xstr(CONFIG_HOSTNAME) "/u-boot-nand.bin\0" \
"nload=tftp 200000 ${u-boot-nand}\0" \
- "nupdate=nand erase 0 100000;nand write 200000 0 100000;" \
- "setenv filesize;saveenv\0" \
+ "nupdate=nand erase 0 100000;nand write 200000 0 100000" \
"nupd=run nload nupdate\0"
#endif /* __AMCC_COMMON_H */