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 <s...@chromium.org>
---

 board/st/common/stm32mp_mtdparts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/st/common/stm32mp_mtdparts.c 
b/board/st/common/stm32mp_mtdparts.c
index bc2ce600287..b866dd5038c 100644
--- a/board/st/common/stm32mp_mtdparts.c
+++ b/board/st/common/stm32mp_mtdparts.c
@@ -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
-- 
2.39.1.456.gfc5497dd1b-goog

Reply via email to