X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=common%2Fimage-fit.c;h=cf4b67e3e832dfbe29acfabb15a53e3248b81c47;hb=dd88ab325cfcc7f803afd40600571b3f9c79319c;hp=7ebc33e93613c73b34310623420fb563be99eee5;hpb=069d594557578c17078f5a413a93923c73628d80;p=u-boot diff --git a/common/image-fit.c b/common/image-fit.c index 7ebc33e936..cf4b67e3e8 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1596,7 +1596,7 @@ int fit_image_load(bootm_headers_t *images, const char *prop_name, ulong addr, len = (ulong)size; /* verify that image data is a proper FDT blob */ - if (image_type == IH_TYPE_FLATDT && fdt_check_header((char *)buf)) { + if (image_type == IH_TYPE_FLATDT && fdt_check_header(buf)) { puts("Subimage data is not a FDT"); return -ENOEXEC; }