No need to guard code with CONFIG_IMX_HAB, there is already a weak function.
Signed-off-by: Peng Fan <peng....@nxp.com> --- common/spl/spl_fit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index c51e4beb1c..3e5648b4eb 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -677,9 +677,7 @@ int spl_load_simple_fit(struct spl_image_info *spl_image, spl_image->flags |= SPL_FIT_FOUND; -#ifdef CONFIG_IMX_HAB board_spl_fit_post_load((ulong)fit, size); -#endif return 0; } -- 2.16.4