diff options
-rw-r--r-- | common/cmd_pxe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index 18e140dfbe..250243a520 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -793,12 +793,12 @@ static int label_boot(cmd_tbl_t *cmdtp, struct pxe_label *label) if (bootm_argv[3]) bootm_argc = 4; - do_bootm(cmdtp, 0, bootm_argc, bootm_argv); - #ifdef CONFIG_CMD_BOOTZ /* Try booting a zImage if do_bootm returns */ do_bootz(cmdtp, 0, bootm_argc, bootm_argv); #endif + + do_bootm(cmdtp, 0, bootm_argc, bootm_argv); return 1; } |