Skip to content
Commit 95b5a7de authored by Sughosh Ganu's avatar Sughosh Ganu Committed by Tom Rini
Browse files

FWU: STM32MP1: Add support to read boot index from backup register



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: default avatarSughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
parent 7d6e2c54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment