summaryrefslogtreecommitdiffstats
path: root/arch/nios2/lib/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/lib/bootm.c')
-rw-r--r--arch/nios2/lib/bootm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c
index 77da119bd..ac7033072 100644
--- a/arch/nios2/lib/bootm.c
+++ b/arch/nios2/lib/bootm.c
@@ -42,6 +42,9 @@ static int do_bootm_linux(struct image_data *idata)
if (ret)
return ret;
+ if (idata->dryrun)
+ return 0;
+
kernel = (void *)(idata->os_address + idata->os_entry);
/* kernel parameters passing