From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:36:44 +0000 (-0700)
Subject: Correct SPL use of CMD_STM32PROG
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~87
X-Git-Url: http://git.dujemihanovic.xyz/%22mailto:Murray.Jensen%40csiro.au/static/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=d89c8e10901131dc905fb3a3751f424c1234d85d;p=u-boot.git

Correct SPL use of CMD_STM32PROG

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>
---

diff --git a/board/st/common/stm32mp_mtdparts.c b/board/st/common/stm32mp_mtdparts.c
index 18878424c7..67a56a2623 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