Commit a5c7e41b authored by Madan Srinivas's avatar Madan Srinivas Committed by Tom Rini

image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

The function 'board_fit_image_post_process' is defined only when the
config option CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure
systems that do not use SPL but do use FIT kernel images, only
CONFIG_FIT_IMAGE_POST_PROCESS will be defined, which will result in an
implicit declaration of function 'board_fit_image_post_process' warning
while building u-boot. Fix this warning.
Signed-off-by: default avatarMadan Srinivas <[email protected]>
Signed-off-by: default avatarAndrew F. Davis <[email protected]>
Reviewed-by: Tom Rini's avatarTom Rini <[email protected]>
Reviewed-by: default avatarLokesh Vutla <[email protected]>
parent f7c8f032
......@@ -1256,7 +1256,8 @@ void android_print_contents(const struct andr_img_hdr *hdr);
*/
int board_fit_config_name_match(const char *name);
#ifdef CONFIG_SPL_FIT_IMAGE_POST_PROCESS
#if defined(CONFIG_SPL_FIT_IMAGE_POST_PROCESS) || \
defined(CONFIG_FIT_IMAGE_POST_PROCESS)
/**
* board_fit_image_post_process() - Do any post-process on FIT binary data
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment