summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHal Feng <[email protected]>2024-12-08 17:19:40 +0800
committerLeo Yu-Chi Liang <[email protected]>2024-12-18 13:19:16 +0800
commitc129fb9efccc189b6a4feda053d0d78a0a6efcf6 (patch)
treea479b65f17010d4fdcbd8ef61d345fdd9ee1b33a
parentc9489a9d32b3433be8ede3eea6648de117d51389 (diff)
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 <[email protected]> Tested-by: E Shattow <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]> Fixes: 5ecf9b0b8a75 ("board: starfive: add StarFive VisionFive v2 board support") Signed-off-by: Hal Feng <[email protected]>
-rw-r--r--board/starfive/visionfive2/spl.c2
1 files changed, 1 insertions, 1 deletions
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 */