From: Reinhard Arlt Date: Mon, 4 Feb 2013 09:37:11 +0000 (+0000) Subject: cmd_elf: Fix broken bootvx command X-Git-Tag: v2013.04-rc1~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b3e0b191a3b93dee79226a276748c6e9aa1d071;p=platform%2Fkernel%2Fu-boot.git cmd_elf: Fix broken bootvx command Fix broken bootvx command. Signed-off-by: Reinhard Arlt --- 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);