summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:36:43 -0700
committerTom Rini <trini@konsulko.com>2023-02-09 16:32:26 -0500
commit308d677147a0223d81793792d78fa167a25d3648 (patch)
tree762332df63d9640c8ddbfd6c50ca1b2c2d2fa41b
parent5cbdd15659ac7fad9f1b5c0f48086463a08258d2 (diff)
downloadu-boot-308d677147a0223d81793792d78fa167a25d3648.tar.gz
u-boot-308d677147a0223d81793792d78fa167a25d3648.tar.bz2
u-boot-308d677147a0223d81793792d78fa167a25d3648.zip
Correct SPL use of CMD_STBOARD
This converts 1 usage of this option to the non-SPL form, since there is no SPL_CMD_STBOARD defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--board/st/stm32mp1/stm32mp1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 47b3d1bf4c..b0dfa2b332 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -129,7 +129,7 @@ int checkboard(void)
fdt_compat && fdt_compat_len ? fdt_compat : "");
/* display the STMicroelectronics board identification */
- if (CONFIG_IS_ENABLED(CMD_STBOARD)) {
+ if (IS_ENABLED(CONFIG_CMD_STBOARD)) {
ret = uclass_get_device_by_driver(UCLASS_MISC,
DM_DRIVER_GET(stm32mp_bsec),
&dev);