diff options
author | Marek Vasut <marex@denx.de> | 2018-05-13 01:22:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-24 05:06:40 +0300 |
commit | a3c43b129eda9916714dfee98f88755f2bee7a82 (patch) | |
tree | 83bf60db56b205eca20cec3c7f22537acc83b2ee /common/image-fit.c | |
parent | b527b9c6c63040fa10b69351eeea23ed38ae4616 (diff) | |
download | u-boot-a3c43b129eda9916714dfee98f88755f2bee7a82.tar.xz |
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 <marex@denx.de>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/image-fit.c')
-rw-r--r-- | common/image-fit.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) */ /** |