diff options
Diffstat (limited to 'common/bootm.c')
-rw-r--r-- | common/bootm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/bootm.c b/common/bootm.c index f8d9330e2e..7f6533b3d1 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -526,10 +526,10 @@ int bootm_boot(struct bootm_data *bootm_data) printf("Passing control to %s handler\n", handler->name); } + ret = handler->bootm(data); if (data->dryrun) - ret = 0; - else - ret = handler->bootm(data); + printf("Dryrun. Aborted\n"); + err_out: if (data->os_res) release_sdram_region(data->os_res); |