summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:44 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 00:32:26 +0300
commitd89c8e10901131dc905fb3a3751f424c1234d85d (patch)
tree73643d69c3429814d584668a634337f56e3eec6a
parent308d677147a0223d81793792d78fa167a25d3648 (diff)
downloadu-boot-d89c8e10901131dc905fb3a3751f424c1234d85d.tar.xz
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>
-rw-r--r--board/st/common/stm32mp_mtdparts.c2
1 files changed, 1 insertions, 1 deletions
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