summaryrefslogtreecommitdiffstats
path: root/common/fdt_support.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/fdt_support.c
parent0b6cc51e988862eb6c521b45ae09cc97ce709f42 (diff)
downloadtalos-obmc-uboot-5bf58ccc8ebd5270f64a20c4c54c98a96acbd7ed.tar.gz
talos-obmc-uboot-5bf58ccc8ebd5270f64a20c4c54c98a96acbd7ed.zip
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/fdt_support.c')
-rw-r--r--common/fdt_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c
index 7927a83b89..784a570a81 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -508,7 +508,7 @@ void fdt_fixup_ethernet(void *fdt)
}
/* Resize the fdt to its actual size + a bit of padding */
-int fdt_resize(void *blob)
+int fdt_shrink_to_minimum(void *blob)
{
int i;
uint64_t addr, size;
OpenPOWER on IntegriCloud