]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/image-fdt.c
Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze
[karo-tx-uboot.git] / common / image-fdt.c
index db6e39556277323a522761827bea9d5516e07e23..a2342fa3dfdd07c1de766200986cfac97579aa4d 100644 (file)
@@ -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;