board: starfive: spl: Fix the wrong use of CONFIG_IS_ENABLED()
authorHal Feng <hal.feng@starfivetech.com>
Sun, 8 Dec 2024 09:19:40 +0000 (17:19 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 18 Dec 2024 05:19:16 +0000 (13:19 +0800)
The prefix "SPL_" is not needed when using CONFIG_IS_ENABLED().

Tested-by: Anand Moon <linux.amoon@gmail.com>
Tested-by: E Shattow <lucent@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Fixes: 5ecf9b0b8a75 ("board: starfive: add StarFive VisionFive v2 board support")
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
board/starfive/visionfive2/spl.c

index 38132ec..cf7f39d 100644 (file)
@@ -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 */