[PATCH v6 07/13] FWU: STM32MP1: Add support to read boot index from backup register
Patrick DELAUNAY
patrick.delaunay at foss.st.com
Wed Jul 13 15:33:09 CEST 2022
Hi,
On 7/4/22 07:16, Sughosh Ganu wrote:
> The FWU Multi Bank Update feature allows the platform to boot the
> firmware images from one of the partitions(banks). The first stage
> bootloader(fsbl) passes the value of the boot index, i.e. the bank
> from which the firmware images were booted from to U-Boot. On the
> STM32MP157C-DK2 board, this value is passed through one of the SoC's
> backup register. Add a function to read the boot index value from the
> backup register.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> Changes since V5:
> * Shuffled the location of the TAMP_FWU_* macros as suggested by
> Patrick
>
> arch/arm/mach-stm32mp/include/mach/stm32.h | 5 +++++
> board/st/stm32mp1/stm32mp1.c | 8 ++++++++
> include/fwu.h | 1 +
> 3 files changed, 14 insertions(+)
>
Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Thanks
Patrick
More information about the U-Boot
mailing list