diff options
author | Simon Glass <sjg@chromium.org> | 2013-05-16 13:53:25 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-04 16:06:31 -0400 |
commit | 4651800d51f7714c7e54c51af52a8ff5ee4461de (patch) | |
tree | 585d7ffcde9af19eb944470d6f8436817de13f18 /common/image-fit.c | |
parent | aed161e5fe86e75e732f22ba1f82711d8d257c5a (diff) | |
download | u-boot-imx-4651800d51f7714c7e54c51af52a8ff5ee4461de.zip u-boot-imx-4651800d51f7714c7e54c51af52a8ff5ee4461de.tar.gz u-boot-imx-4651800d51f7714c7e54c51af52a8ff5ee4461de.tar.bz2 |
image: Use fit_image_load() to load kernel
Use the new common code to load a kernel. 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.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/common/image-fit.c b/common/image-fit.c index 15c92be..589f53d 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1352,25 +1352,6 @@ int fit_conf_get_prop_node(const void *fit, int noffset, } /** - * fit_conf_get_kernel_node - get kernel image node offset that corresponds to - * a given configuration - * @fit: pointer to the FIT format image header - * @noffset: configuration node offset - * - * fit_conf_get_kernel_node() retrives kernel 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_kernel_node(const void *fit, int noffset) -{ - return fit_conf_get_prop_node(fit, noffset, FIT_KERNEL_PROP); -} - -/** * fit_conf_print - prints out the FIT configuration details * @fit: pointer to the FIT format image header * @noffset: offset of the configuration node |