From 1b3e0b191a3b93dee79226a276748c6e9aa1d071 Mon Sep 17 00:00:00 2001 From: Reinhard Arlt Date: Mon, 4 Feb 2013 09:37:11 +0000 Subject: cmd_elf: Fix broken bootvx command Fix broken bootvx command. Signed-off-by: Reinhard Arlt --- common/cmd_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/cmd_elf.c b/common/cmd_elf.c index a667a469b5..ab9c7e332d 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); -- cgit v1.2.3