diff options
| author | Dario Binacchi <[email protected]> | 2026-05-18 08:54:27 +0200 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-05-26 13:46:30 +0200 |
| commit | 560d8f32703ffa748197f6b782884952697669ff (patch) | |
| tree | dc77d60a293b066906456b3ba2dcd2895c25b03f /scripts/basic | |
| parent | 76d62273bc8a5dc126ed79ed0fb65e5a97359577 (diff) | |
board: st: stm32mp15: support dynamic A/B bank bootup
Following commit 4300f9f4c5d7 ("board: st: stm32mp25: support dynamic
A/B bank bootup"), this patch enables automatic detection of the active
A/B bank on STM32MP15 platforms by retrieving partition GUIDs from FWU
metadata.
This ensures the system correctly identifies the bootable partitions
even in multi-bank scenarios, falling back to a standard bootable flag
scan if the UUIDs are missing.
To enable A/B bank bootup on STM32MP15 boards, add the following Kconfig
options to the stm32mp15[_basic]_defconfig:
CONFIG_FWU_MULTI_BANK_UPDATE=y
CONFIG_FWU_MDATA=y
CONFIG_FWU_NUM_BANKS=2
CONFIG_FWU_NUM_IMAGES_PER_BANK=3
CONFIG_CMD_FWU_METADATA=y
CONFIG_FWU_MDATA_V2=y
Signed-off-by: Dario Binacchi <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
