summaryrefslogtreecommitdiffstats
path: root/arch/ppc/lib/ppclinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/lib/ppclinux.c')
-rw-r--r--arch/ppc/lib/ppclinux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc/lib/ppclinux.c b/arch/ppc/lib/ppclinux.c
index 409c0cf26..a36682caf 100644
--- a/arch/ppc/lib/ppclinux.c
+++ b/arch/ppc/lib/ppclinux.c
@@ -60,6 +60,9 @@ static int do_bootm_linux(struct image_data *data)
return -EINVAL;
}
+ if (data->dryrun)
+ return 0;
+
/* Relocate the device tree if outside the initial
* Linux mapped TLB.
*/