]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_fdt.c
dm: spi: Add documentation on how to convert over SPI drivers
[karo-tx-uboot.git] / common / cmd_fdt.c
index e86d992838ee2986f57e9466271b4d393a7e05a0..5640ded296895d8bf2dbd6b1e99ba565d52e1377 100644 (file)
@@ -621,7 +621,7 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        }
        /* resize the fdt */
        else if (strncmp(argv[1], "re", 2) == 0) {
-               fdt_resize(working_fdt);
+               fdt_shrink_to_minimum(working_fdt);
        }
        else {
                /* Unrecognized command */