Message ID | 51100DE7.4040604@esd.eu |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
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!
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
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> bootaddr = simple_strtoul(tmp, NULL, 16);