diff mbox series

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

Message ID 20200512094404.16534-6-peng.fan@nxp.com
State New
Headers show
Series spl: imx: update and fix | expand

Commit Message

Peng Fan May 12, 2020, 9:44 a.m. UTC
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 mbox series

Patch

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;
 }