commit | 5bf58ccc8ebd5270f64a20c4c54c98a96acbd7ed | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 30 03:59:02 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Sat Aug 09 11:17:03 2014 -0400 |
tree | 3da0e9d970dfd6f343be9249a96e4ac2f35e3b9f | |
parent | 0b6cc51e988862eb6c521b45ae09cc97ce709f42 [diff] [blame] |
fdt: Rename fdt_resize() to fdt_shrink_to_minimum() Since libfdt now has an fdt_resize() function, we need to rename the U-Boot one. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index e86d992..5640ded 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c
@@ -621,7 +621,7 @@ } /* resize the fdt */ else if (strncmp(argv[1], "re", 2) == 0) { - fdt_resize(working_fdt); + fdt_shrink_to_minimum(working_fdt); } else { /* Unrecognized command */