From: Marek Vasut Date: Sat, 12 May 2018 22:22:53 +0000 (+0200) Subject: fit: Add empty fit_print_contents() and fit_image_print() X-Git-Tag: v2018.07-rc1~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a3c43b129eda9916714dfee98f88755f2bee7a82;p=u-boot fit: Add empty fit_print_contents() and fit_image_print() These functions may be needed in SPL, so add empty variants of them if CONFIG_SPL_FIT_PRINT is disabled. Signed-off-by: Marek Vasut Cc: Pantelis Antoniou Cc: Simon Glass Reviewed-by: Simon Glass --- diff --git a/common/image-fit.c b/common/image-fit.c index 9224456b61..e3577e2dd7 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -542,7 +542,9 @@ void fit_image_print(const void *fit, int image_noffset, const char *p) } } } - +#else +void fit_print_contents(const void *fit) { } +void fit_image_print(const void *fit, int image_noffset, const char *p) { } #endif /* !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_FIT_PRINT) */ /**