diff --git a/boot/image-fit.c b/boot/image-fit.c index 3cc556b727..2ba7e64259 100644 --- a/boot/image-fit.c +++ b/boot/image-fit.c @@ -2266,6 +2266,7 @@ int fit_image_load(struct bootm_headers *images, ulong addr, comp != IH_COMP_NONE && !(image_type == IH_TYPE_KERNEL || image_type == IH_TYPE_KERNEL_NOLOAD || + image_type == IH_TYPE_FLATDT || image_type == IH_TYPE_RAMDISK)) { ulong max_decomp_len = len * 20; if (load == data) { @@ -2291,11 +2292,11 @@ int fit_image_load(struct bootm_headers *images, ulong addr, " please fix your .its file!\n"); /* verify that image data is a proper FDT blob */ - if (image_type == IH_TYPE_FLATDT && fdt_check_header(loadbuf)) { + /* if (image_type == IH_TYPE_FLATDT && fdt_check_header(loadbuf)) { puts("Subimage data is not a FDT"); return -ENOEXEC; } - + */ bootstage_mark(bootstage_id + BOOTSTAGE_SUB_LOAD); *datap = load;