public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [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

* [U-Boot] cmd_elf:Fix broken bootvx command
  2013-02-04 19:37 [U-Boot] [PATCH] cmd_elf:Fix broken bootvx command Reinhard Arlt
@ 2013-02-20 15:02 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2013-02-20 15:02 UTC (permalink / raw)
  To: u-boot

On Mon, Feb 04, 2013 at 09:37:11AM -0000, Reinhard Arlt wrote:

> 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>

Applied to u-boot/master with a fixup to the commit message, thanks!

-- 
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>

^ permalink raw reply	[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