[PATCH v2 058/169] Correct SPL use of CMD_STM32PROG
Simon Glass
sjg at chromium.org
Sun Feb 5 23:36:44 CET 2023
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 at chromium.org>
---
(no changes since v1)
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 18878424c7a..67a56a2623a 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.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list