summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/common
diff options
context:
space:
mode:
authorsave2009-07-27 12:49:47 +0000
committersave2009-07-27 12:49:47 +0000
commitb0c2bf496e10bd24e1a94b8021e1ad5528a834da (patch)
treedbca6e39a488966017b9ebed340f80024923a693 /cleopatre/u-boot-1.1.6/common
parent457a13107a3b0c89bff86fb827893ddd4231d498 (diff)
[CLEO][U-BOOT]SpidUpdate revue :
- NVRAM detection - Images selection with NVRAM parameters git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5083 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cleopatre/u-boot-1.1.6/common')
-rw-r--r--cleopatre/u-boot-1.1.6/common/cmd_net.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/cleopatre/u-boot-1.1.6/common/cmd_net.c b/cleopatre/u-boot-1.1.6/common/cmd_net.c
index d2fcc1da91..f429391fd2 100644
--- a/cleopatre/u-boot-1.1.6/common/cmd_net.c
+++ b/cleopatre/u-boot-1.1.6/common/cmd_net.c
@@ -223,14 +223,11 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
#if (CONFIG_COMMANDS & CFG_CMD_SPIDUPD)
int do_spidupd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- if (NetLoop(SPIDUPD) < 0) {
- printf("Image not updated.\n");
+ if (NetLoop(SPIDUPD) < 0)
+ {
return 1;
- }
-
- printf("Image sucessfully updated.\n");
-
- return 0;
+ }
+ return 0;
}
U_BOOT_CMD(