]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of CMD_STM32PROG
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:44 +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_STM32PROG defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
board/st/common/stm32mp_mtdparts.c

index 18878424c7a8eb24f6ebc5c94ca0939fe594cd98..67a56a2623a1f2229008c0a3d797f8955a17ae27 100644 (file)
@@ -96,7 +96,7 @@ void board_mtdparts_default(const char **mtdids, const char **mtdparts)
        case BOOT_SERIAL_UART:
        case BOOT_SERIAL_USB:
                serial = true;
-               if (CONFIG_IS_ENABLED(CMD_STM32PROG)) {
+               if (IS_ENABLED(CONFIG_CMD_STM32PROG)) {
 #ifdef CONFIG_STM32MP15x_STM32IMAGE
                        tee = stm32prog_get_tee_partitions();
 #endif