cmd_elf:Fix broken bootvx command
PATCH 1/1 cmd_elf:Fix broken bootvx command
commit d2d6bdaaef5f7eb39551e2288164b710021125fd
Author: Reinhard Arlt <[email protected]> Date: Mon Feb 4 19:45:16 2013 +0100
Fix broken bootvx command.
Signed-off-by Reinhard Arlt <[email protected]>
common/cmd_elf.c +0 -0
@@ -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);
Quoted 7 lines · Reinhard Arlt
commit
d2d6bdaaef5f7eb39551e2288164b710021125fdAuthor: Reinhard Arlt <[email protected]> Date: Mon Feb 4 19:45:16 2013 +0100Fix broken bootvx command.
Signed-off-by Reinhard Arlt <[email protected]>
Applied to u-boot/master with a fixup to the commit message, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130220/fb651a17/attachment.pgp>