summaryrefslogtreecommitdiff
path: root/common/cmd_fdt.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-07-30 03:59:02 -0600
committerTom Rini <trini@ti.com>2014-08-09 11:17:03 -0400
commit5bf58ccc8ebd5270f64a20c4c54c98a96acbd7ed (patch)
tree3da0e9d970dfd6f343be9249a96e4ac2f35e3b9f /common/cmd_fdt.c
parent0b6cc51e988862eb6c521b45ae09cc97ce709f42 (diff)
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>
Diffstat (limited to 'common/cmd_fdt.c')
-rw-r--r--common/cmd_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c
index e86d992838..5640ded296 100644
--- a/common/cmd_fdt.c
+++ b/common/cmd_fdt.c
@@ -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 */