[PATCH 5/5] spl: fit: remove useless CONFIG_IMX_HAB

Peng Fan peng.fan at nxp.com
Tue May 12 11:44:04 CEST 2020


No need to guard code with CONFIG_IMX_HAB, there is already a weak
function.

Signed-off-by: Peng Fan <peng.fan at 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



More information about the U-Boot mailing list