]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: cleanup default environment for AMCC boards
authorWolfgang Denk <wd@denx.de>
Fri, 23 Jul 2010 19:16:26 +0000 (21:16 +0200)
committerStefan Roese <sr@denx.de>
Mon, 9 Aug 2010 14:02:05 +0000 (16:02 +0200)
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>
include/configs/amcc-common.h

index 13a941ef635c8c677a80f29f4fe3680c6a8a4f39..23a859fcb402f9e8f4e173a768240e0259919b3c 100644 (file)
        "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 */