summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/bootm_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootm_os.c b/boot/bootm_os.c
index e9522cd3299..7e41e1f6141 100644
--- a/boot/bootm_os.c
+++ b/boot/bootm_os.c
@@ -402,7 +402,7 @@ static int do_bootm_elf(int flag, struct bootm_info *bmi)
if (flag != BOOTM_STATE_OS_GO)
return 0;
- bootelf(bmi->images->ep, flags, 0, NULL);
+ bootelf(bmi->images->ep, flags, bmi->argc, bmi->argv);
return 1;
}