summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-07 06:12:00 +0000
committerTom Rini <trini@ti.com>2013-05-14 15:37:25 -0400
commit003efd7da48390d32956c24ab0d337ad452c83d2 (patch)
tree32a9eabb77ef680102bb1474f21493076585f70a /common
parente754da2aee394505b1d471e48398941a19bfb549 (diff)
downloadu-boot-imx-003efd7da48390d32956c24ab0d337ad452c83d2.zip
u-boot-imx-003efd7da48390d32956c24ab0d337ad452c83d2.tar.gz
u-boot-imx-003efd7da48390d32956c24ab0d337ad452c83d2.tar.bz2
image: Export fit_conf_get_prop_node()
This function will be needed by signature checking code, so export it, and also add docs. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/image-fit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/image-fit.c b/common/image-fit.c
index f5a777e..de6fce6 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -1308,7 +1308,7 @@ int fit_conf_get_node(const void *fit, const char *conf_uname)
return noffset;
}
-static int __fit_conf_get_prop_node(const void *fit, int noffset,
+int fit_conf_get_prop_node(const void *fit, int noffset,
const char *prop_name)
{
char *uname;
@@ -1338,7 +1338,7 @@ static int __fit_conf_get_prop_node(const void *fit, int noffset,
*/
int fit_conf_get_kernel_node(const void *fit, int noffset)
{
- return __fit_conf_get_prop_node(fit, noffset, FIT_KERNEL_PROP);
+ return fit_conf_get_prop_node(fit, noffset, FIT_KERNEL_PROP);
}
/**
@@ -1357,7 +1357,7 @@ int fit_conf_get_kernel_node(const void *fit, int noffset)
*/
int fit_conf_get_ramdisk_node(const void *fit, int noffset)
{
- return __fit_conf_get_prop_node(fit, noffset, FIT_RAMDISK_PROP);
+ return fit_conf_get_prop_node(fit, noffset, FIT_RAMDISK_PROP);
}
/**
@@ -1376,7 +1376,7 @@ int fit_conf_get_ramdisk_node(const void *fit, int noffset)
*/
int fit_conf_get_fdt_node(const void *fit, int noffset)
{
- return __fit_conf_get_prop_node(fit, noffset, FIT_FDT_PROP);
+ return fit_conf_get_prop_node(fit, noffset, FIT_FDT_PROP);
}
/**