From 5bf58ccc8ebd5270f64a20c4c54c98a96acbd7ed Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 30 Jul 2014 03:59:02 -0600 Subject: 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 --- common/cmd_fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/cmd_fdt.c') 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 */ -- cgit v1.2.3