X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fimage-fdt.c;h=a2342fa3dfdd07c1de766200986cfac97579aa4d;hb=1e3d64031608d668509b6fe0825f7708bb6b6a0d;hp=db6e39556277323a522761827bea9d5516e07e23;hpb=e29607ed972056723e4bf0ac90767421cf0f0b78;p=u-boot diff --git a/common/image-fdt.c b/common/image-fdt.c index db6e395562..a2342fa3df 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -479,7 +479,7 @@ int image_setup_libfdt(bootm_headers_t *images, void *blob, lmb_free(lmb, (phys_addr_t)(u32)(uintptr_t)blob, (phys_size_t)fdt_totalsize(blob)); - ret = fdt_resize(blob); + ret = fdt_shrink_to_minimum(blob); if (ret < 0) return ret; of_size = ret;