From: Marek Vasut Date: Sun, 13 May 2018 00:22:53 +0200 Subject: [U-Boot] [PATCH 2/3] fit: Add empty fit_print_contents() and fit_image_print() In-Reply-To: <20180512222254.11711-1-marex@denx.de> References: <20180512222254.11711-1-marex@denx.de> Message-ID: <20180512222254.11711-2-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- common/image-fit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index 578db5cc84..98cb039376 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -459,7 +459,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) */ /** -- 2.16.2