summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-26 08:22:05 -0600
committerTom Rini <[email protected]>2026-05-26 08:22:05 -0600
commit987907ae4bcc5d6055bdf7d318a3edf53e14d5fa (patch)
tree0d4ea092dd4d24e898fb0ec61e3426ed47feac91 /include
parent76d62273bc8a5dc126ed79ed0fb65e5a97359577 (diff)
parent0c035ff60c1e8caee7fccd2673ce75380dee825b (diff)
Merge tag 'u-boot-stm32-20260526' of https://source.denx.de/u-boot/custodians/u-boot-stmHEADmaster
CI: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/30256 - Add support dynamic A/B bank bootup for STM32MP15 - Increase SYS_MALLOC_F_LEN for stm32mp15_defconfig to fix boot with optee-4.10.0 - Enable Arm SMC watchdog for STM32MP1 - Update part number for TM32MP251/3 SoC's family
Diffstat (limited to 'include')
-rw-r--r--include/configs/stm32mp15_st_common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h
index 60838cb0e3f..7727e583fc7 100644
--- a/include/configs/stm32mp15_st_common.h
+++ b/include/configs/stm32mp15_st_common.h
@@ -8,7 +8,22 @@
#ifndef __CONFIG_STM32MP15_ST_COMMON_H__
#define __CONFIG_STM32MP15_ST_COMMON_H__
+#ifdef CONFIG_FWU_MULTI_BANK_UPDATE
+#define SCAN_DEV_FOR_BOOT_PARTS \
+ "setenv devplist; " \
+ "env exists boot_partuuid && " \
+ "part number ${devtype} ${devnum} ${boot_partuuid} devplist; " \
+ "env exists devplist || " \
+ "part list ${devtype} ${devnum} -bootable devplist; "
+
+#define ST_STM32MP15_FWU_ENV \
+ "altbootcmd=${bootcmd}\0"
+#else
+#define ST_STM32MP15_FWU_ENV
+#endif
+
#define STM32MP_BOARD_EXTRA_ENV \
+ ST_STM32MP15_FWU_ENV \
"usb_pgood_delay=2000\0" \
"console=ttySTM0\0" \
"splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \