summaryrefslogtreecommitdiff
path: root/board/starfive
diff options
context:
space:
mode:
authorHal Feng <hal.feng@starfivetech.com>2024-12-08 17:19:40 +0800
committerLeo Yu-Chi Liang <ycliang@andestech.com>2024-12-18 13:19:16 +0800
commitc129fb9efccc189b6a4feda053d0d78a0a6efcf6 (patch)
treea479b65f17010d4fdcbd8ef61d345fdd9ee1b33a /board/starfive
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 <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>
Diffstat (limited to 'board/starfive')
-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 */