From: Hal Feng Date: Sun, 8 Dec 2024 09:19:40 +0000 (+0800) Subject: board: starfive: spl: Fix the wrong use of CONFIG_IS_ENABLED() X-Git-Tag: v2025.04-rc1~17^2~41^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c129fb9efccc189b6a4feda053d0d78a0a6efcf6;p=pandora-u-boot.git 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 --- 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 */