summaryrefslogtreecommitdiffstats
path: root/common/image-fit.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-16 13:53:23 +0000
committerTom Rini <trini@ti.com>2013-06-04 16:06:31 -0400
commit53f375fa819c656eec32ac779456a612836ae006 (patch)
tree83f817f2a106ae228b4775bb77bc02d466490b62 /common/image-fit.c
parenta51ec63b85edbc6f8987069d0a60eec09d4f35c8 (diff)
downloadtalos-obmc-uboot-53f375fa819c656eec32ac779456a612836ae006.tar.gz
talos-obmc-uboot-53f375fa819c656eec32ac779456a612836ae006.zip
image: Use fit_image_load() to load FDT
Use the new common code to load a flat device tree. Also fix up a few casts so that this code works with sandbox. Other than that the functionality should not change. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image-fit.c')
-rw-r--r--common/image-fit.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/common/image-fit.c b/common/image-fit.c
index 16fb196534..15c92be4d7 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -1371,25 +1371,6 @@ int fit_conf_get_kernel_node(const void *fit, int noffset)
}
/**
- * fit_conf_get_fdt_node - get fdt image node offset that corresponds to
- * a given configuration
- * @fit: pointer to the FIT format image header
- * @noffset: configuration node offset
- *
- * fit_conf_get_fdt_node() retrives fdt image node unit name from
- * configuration FIT_KERNEL_PROP property and translates it to the node
- * offset.
- *
- * returns:
- * image node offset when found (>=0)
- * negative number on failure (FDT_ERR_* code)
- */
-int fit_conf_get_fdt_node(const void *fit, int noffset)
-{
- return fit_conf_get_prop_node(fit, noffset, FIT_FDT_PROP);
-}
-
-/**
* fit_conf_print - prints out the FIT configuration details
* @fit: pointer to the FIT format image header
* @noffset: offset of the configuration node
OpenPOWER on IntegriCloud