summaryrefslogtreecommitdiffstats
path: root/commands/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bootm.c')
-rw-r--r--commands/bootm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index 38233e72f1..65a75e20ba 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -194,15 +194,15 @@ static int bootm_open_oftree(struct image_data *data, const char *oftree, int nu
return -EINVAL;
}
+ if (bootm_verbose(data) > 1)
+ of_print_nodes(node, 0);
+
fixfdt = of_get_fixed_tree(node);
if (!fixfdt)
return -EINVAL;
free(fdt);
- if (bootm_verbose(data) > 1)
- fdt_print(fixfdt, "/");
-
data->oftree = fixfdt;
return 0;