]> git.sur5r.net Git - u-boot/commit
image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS
authorMadan Srinivas <madans@ti.com>
Fri, 7 Apr 2017 15:00:02 +0000 (10:00 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 9 Apr 2017 01:35:04 +0000 (21:35 -0400)
commita5c7e41be357c508a807b991c2adacc68e79bdfc
treec727ea700820b2a0171bc522b74e7197da155668
parentf7c8f032f49ef8183f4019bf2659930d1d07013f
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: Madan Srinivas <madans@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
include/image.h