]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/image-fit.c
image: Use fit_image_load() to load kernel
[karo-tx-uboot.git] / common / image-fit.c
index 15c92be4d7216c9ed83058fdce880260a7a400d6..589f53dbb5256f58a4b55d30b0d807ac66a8e1b7 100644 (file)
@@ -1351,25 +1351,6 @@ int fit_conf_get_prop_node(const void *fit, int noffset,
        return fit_image_get_node(fit, uname);
 }
 
-/**
- * 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