diff options
author | Simon Glass | 2013-05-07 06:11:52 +0000 |
---|---|---|
committer | Tom Rini | 2013-05-14 15:37:25 -0400 |
commit | 61a439a873e8ae95c1af2e6f1b1085372c4cb326 (patch) | |
tree | 0200bddb11bdcc40c89c33cf99d9a6cf2f478a3b /common | |
parent | 859e92b775fd8ebcfacc591eaf621b677c95b6f7 (diff) |
image: Export fit_check_ramdisk()
One we split out the FIT code from image.c we will need this function.
Export it in the header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/image.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/common/image.c b/common/image.c index b415c4e8d98..7b48564390d 100644 --- a/common/image.c +++ b/common/image.c @@ -49,14 +49,9 @@ #include <fdt_support.h> #endif -#if defined(CONFIG_FIT) #include <u-boot/md5.h> #include <sha1.h> -static int fit_check_ramdisk(const void *fit, int os_noffset, - uint8_t arch, int verify); -#endif - #ifdef CONFIG_CMD_BDI extern int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); #endif @@ -3364,8 +3359,8 @@ void fit_conf_print(const void *fit, int noffset, const char *p) * 0, on failure */ #ifndef USE_HOSTCC -static int fit_check_ramdisk(const void *fit, int rd_noffset, uint8_t arch, - int verify) +int fit_check_ramdisk(const void *fit, int rd_noffset, uint8_t arch, + int verify) { fit_image_print(fit, rd_noffset, " "); |