From c129fb9efccc189b6a4feda053d0d78a0a6efcf6 Mon Sep 17 00:00:00 2001 From: Hal Feng Date: Sun, 8 Dec 2024 17:19:40 +0800 Subject: [PATCH] board: starfive: spl: Fix the wrong use of CONFIG_IS_ENABLED() The prefix "SPL_" is not needed when using CONFIG_IS_ENABLED(). Tested-by: Anand Moon Tested-by: E Shattow Reviewed-by: Heinrich Schuchardt Fixes: 5ecf9b0b8a75 ("board: starfive: add StarFive VisionFive v2 board support") Signed-off-by: Hal Feng --- 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 38132ecccd3..cf7f39d5c55 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.39.5