summaryrefslogtreecommitdiffstats
path: root/common/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 5ff6683fe7..8167c3a603 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -337,9 +337,6 @@ int bootm_load_devicetree(struct image_data *data, unsigned long load_address)
struct fdt_header *oftree;
int ret;
- if (data->oftree)
- return 0;
-
if (!IS_ENABLED(CONFIG_OFTREE))
return 0;
@@ -431,8 +428,6 @@ int bootm_load_devicetree(struct image_data *data, unsigned long load_address)
if (bootm_verbose(data) > 1)
of_print_nodes(data->of_root_node, 0);
- data->oftree = oftree;
-
return 0;
}
@@ -576,7 +571,6 @@ int bootm_boot(struct bootm_data *bootm_data)
* When we only allow booting signed images make sure everything
* we boot is in the OS image and not given separately.
*/
- data->oftree = NULL;
data->oftree_file = NULL;
data->initrd_file = NULL;
if (os_type != filetype_oftree) {