diff options
Diffstat (limited to 'common/bootm.c')
-rw-r--r-- | common/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootm.c b/common/bootm.c index 12d3ee0c46..b250bd14d6 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -297,7 +297,7 @@ static int bootm_open_oftree(struct image_data *data, const char *oftree, int nu return -EINVAL; } - data->of_root_node = of_unflatten_dtb(NULL, fdt); + data->of_root_node = of_unflatten_dtb(fdt); if (!data->of_root_node) { pr_err("unable to unflatten devicetree\n"); free(fdt); |