* [U-Boot] [PATCH] cmd_elf:Fix broken bootvx command
@ 2013-02-04 19:37 Reinhard Arlt
2013-02-20 15:02 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Reinhard Arlt @ 2013-02-04 19:37 UTC (permalink / raw)
To: u-boot
commit d2d6bdaaef5f7eb39551e2288164b710021125fd
Author: Reinhard Arlt <reinhard.arlt@esd.eu>
Date: Mon Feb 4 19:45:16 2013 +0100
Fix broken bootvx command.
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
diff --git a/common/cmd_elf.c b/common/cmd_elf.c
index a667a46..ab9c7e3 100644
--- a/common/cmd_elf.c
+++ b/common/cmd_elf.c
@@ -198,7 +198,7 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc,
char * const argv[])
* defaults to 0x4200
*/
tmp = getenv("bootaddr");
- if (tmp)
+ if (!tmp)
bootaddr = CONFIG_SYS_VXWORKS_BOOT_ADDR;
else
bootaddr = simple_strtoul(tmp, NULL, 16);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-20 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 19:37 [U-Boot] [PATCH] cmd_elf:Fix broken bootvx command Reinhard Arlt
2013-02-20 15:02 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox