cmd_elf: Fix broken bootvx command
Fix broken bootvx command. Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
This commit is contained in:
parent
70d7cb9252
commit
1b3e0b191a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user