summaryrefslogtreecommitdiff
path: root/board/st/stm32mp1
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 /board/st/stm32mp1
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 'board/st/stm32mp1')
-rw-r--r--board/st/stm32mp1/stm32mp1.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 88ede4e3910..9b933a2ba0b 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -837,24 +837,3 @@ static void board_copro_image_process(ulong fw_image, size_t fw_size)
}
U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_COPRO, board_copro_image_process);
-
-#if defined(CONFIG_FWU_MULTI_BANK_UPDATE)
-
-#include <fwu.h>
-
-/**
- * fwu_plat_get_bootidx() - Get the value of the boot index
- * @boot_idx: Boot index value
- *
- * Get the value of the bank(partition) from which the platform
- * has booted. This value is passed to U-Boot from the earlier
- * stage bootloader which loads and boots all the relevant
- * firmware images
- *
- */
-void fwu_plat_get_bootidx(uint *boot_idx)
-{
- *boot_idx = (readl(TAMP_FWU_BOOT_INFO_REG) >>
- TAMP_FWU_BOOT_IDX_OFFSET) & TAMP_FWU_BOOT_IDX_MASK;
-}
-#endif /* CONFIG_FWU_MULTI_BANK_UPDATE */