[PATCH v2 13/14] board: starfive: spl: Fix the wrong use of CONFIG_IS_ENABLED()

Hal Feng hal.feng at starfivetech.com
Mon Oct 28 02:58:46 CET 2024


The prefix "SPL_" is not needed when using CONFIG_IS_ENABLED().

Signed-off-by: Hal Feng <hal.feng at starfivetech.com>
---
 board/starfive/visionfive2/spl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c
index 38132ecccd..cf7f39d5c5 100644
--- a/board/starfive/visionfive2/spl.c
+++ b/board/starfive/visionfive2/spl.c
@@ -110,7 +110,7 @@ void board_init_f(ulong dummy)
 	}
 }
 
-#if CONFIG_IS_ENABLED(SPL_LOAD_FIT)
+#if CONFIG_IS_ENABLED(LOAD_FIT)
 int board_fit_config_name_match(const char *name)
 {
 	/* boot using first FIT config */
-- 
2.43.2



More information about the U-Boot mailing list