FWU: developerbox: read boot index from NOR flash
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 8 Feb 2024 02:33:44 +0000 (11:33 +0900)
committerTom Rini <trini@konsulko.com>
Sat, 2 Mar 2024 17:26:19 +0000 (12:26 -0500)
commitfd50ae3f2628d1197829e0c2ef52aed653e80d68
treecb5f97f7f74fd729fed51cf1fb74ce9a58fa4f55
parente3f2493d61166b44e85ce5b8bdd15813f0c28883
FWU: developerbox: read boot index from NOR flash

The FWU Multi Bank Update feature allows the platform to boot the
firmware images from one of the partitions(banks).
On the Developerbox, SCP-firmware running on the SCB(Cortex-M3)
passes the value of the boot index on the NOR flash.
Add a function to read the boot index value from the NOR flash.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
board/socionext/developerbox/fwu_plat.c
include/configs/synquacer.h