summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorReinhard Arlt <reinhard.arlt@esd.eu>2013-02-04 09:37:11 +0000
committerTom Rini <trini@ti.com>2013-02-20 08:52:29 -0500
commit1b3e0b191a3b93dee79226a276748c6e9aa1d071 (patch)
tree9af0b4d3bc8645a2f8edfe412ff9c78233f875c5 /common
parent70d7cb92528c88b7e0db841d94383d8d0fb350f3 (diff)
downloadu-boot-imx-1b3e0b191a3b93dee79226a276748c6e9aa1d071.zip
u-boot-imx-1b3e0b191a3b93dee79226a276748c6e9aa1d071.tar.gz
u-boot-imx-1b3e0b191a3b93dee79226a276748c6e9aa1d071.tar.bz2
cmd_elf: Fix broken bootvx command
Fix broken bootvx command. Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_elf.c2
1 files changed, 1 insertions, 1 deletions
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);