summaryrefslogtreecommitdiffstats
path: root/common/image-fit.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/image-fit.c')
-rw-r--r--common/image-fit.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/common/image-fit.c b/common/image-fit.c
index 12379a67ff..8715689cfb 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -581,27 +581,6 @@ int fit_open_configuration(struct fit_handle *handle, const char *name)
handle->conf_node = conf_node;
- if (fit_has_image(handle, "kernel")) {
- ret = fit_open_image(handle, "kernel", &handle->kernel,
- &handle->kernel_size);
- if (ret)
- return ret;
- }
-
- if (fit_has_image(handle, "ramdisk")) {
- ret = fit_open_image(handle, "ramdisk", &handle->initrd,
- &handle->initrd_size);
- if (ret)
- return ret;
- }
-
- if (fit_has_image(handle, "fdt")) {
- ret = fit_open_image(handle, "fdt", &handle->oftree,
- &handle->oftree_size);
- if (ret)
- return ret;
- }
-
return 0;
}