summaryrefslogtreecommitdiffstats
path: root/common/image-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/image-fdt.c
parent0b6cc51e988862eb6c521b45ae09cc97ce709f42 (diff)
downloadblackbird-obmc-uboot-5bf58ccc8ebd5270f64a20c4c54c98a96acbd7ed.tar.gz
blackbird-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/image-fdt.c')
-rw-r--r--common/image-fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-fdt.c b/common/image-fdt.c
index db6e395562..a2342fa3df 100644
--- a/common/image-fdt.c
+++ b/common/image-fdt.c
@@ -479,7 +479,7 @@ int image_setup_libfdt(bootm_headers_t *images, void *blob,
lmb_free(lmb, (phys_addr_t)(u32)(uintptr_t)blob,
(phys_size_t)fdt_totalsize(blob));
- ret = fdt_resize(blob);
+ ret = fdt_shrink_to_minimum(blob);
if (ret < 0)
return ret;
of_size = ret;
OpenPOWER on IntegriCloud