diff options
Diffstat (limited to 'common/oftree.c')
-rw-r--r-- | common/oftree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/oftree.c b/common/oftree.c index 1fcc5277c5..962fff244d 100644 --- a/common/oftree.c +++ b/common/oftree.c @@ -343,6 +343,8 @@ int of_fix_tree(struct device_node *node) struct of_fixup *of_fixup; int ret; + of_overlay_load_firmware_clear(); + list_for_each_entry(of_fixup, &of_fixup_list, list) { ret = of_fixup->fixup(node, of_fixup->context); if (ret) @@ -370,7 +372,7 @@ struct fdt_header *of_get_fixed_tree(struct device_node *node) if (!node) return NULL; - freenp = node = of_copy_node(NULL, node); + freenp = node = of_dup(node); if (!node) return NULL; } |