Skip to content
Snippets Groups Projects
Commit 0ad7f095 authored by Wolfgang Denk's avatar Wolfgang Denk Committed by Stefan Roese
Browse files

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: default avatarWolfgang Denk <wd@denx.de>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent b417260d
No related branches found
No related tags found
No related merge requests found
...@@ -278,15 +278,13 @@ ...@@ -278,15 +278,13 @@
"load=tftp 200000 ${u-boot}\0" \ "load=tftp 200000 ${u-boot}\0" \
"update=protect off " xstr(CONFIG_SYS_MONITOR_BASE) " FFFFFFFF;" \ "update=protect off " xstr(CONFIG_SYS_MONITOR_BASE) " FFFFFFFF;" \
"era " xstr(CONFIG_SYS_MONITOR_BASE) " FFFFFFFF;" \ "era " xstr(CONFIG_SYS_MONITOR_BASE) " FFFFFFFF;" \
"cp.b ${fileaddr} " xstr(CONFIG_SYS_MONITOR_BASE) " ${filesize};" \ "cp.b ${fileaddr} " xstr(CONFIG_SYS_MONITOR_BASE) " ${filesize}" \
"setenv filesize;saveenv\0" \
"upd=run load update\0" \ "upd=run load update\0" \
#define CONFIG_AMCC_DEF_ENV_NAND_UPD \ #define CONFIG_AMCC_DEF_ENV_NAND_UPD \
"u-boot-nand=" xstr(CONFIG_HOSTNAME) "/u-boot-nand.bin\0" \ "u-boot-nand=" xstr(CONFIG_HOSTNAME) "/u-boot-nand.bin\0" \
"nload=tftp 200000 ${u-boot-nand}\0" \ "nload=tftp 200000 ${u-boot-nand}\0" \
"nupdate=nand erase 0 100000;nand write 200000 0 100000;" \ "nupdate=nand erase 0 100000;nand write 200000 0 100000" \
"setenv filesize;saveenv\0" \
"nupd=run nload nupdate\0" "nupd=run nload nupdate\0"
#endif /* __AMCC_COMMON_H */ #endif /* __AMCC_COMMON_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment