Correct SPL use of CMD_STBOARD
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:43 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
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>
board/st/stm32mp1/stm32mp1.c

index 47b3d1b..b0dfa2b 100644 (file)
@@ -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);