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

FWU: Add helper functions for accessing FWU metadata



Add weak functions for getting the update index value and dfu
alternate number needed for FWU Multi Bank update
functionality.

The current implementation for getting the update index value is for
platforms with 2 banks. If a platform supports more than 2 banks, it
can implement it's own function. The function to get the dfu alternate
number has been added for platforms with GPT partitioned storage
devices. Platforms with other storage partition scheme need to
implement their own function.

Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent d70c4a0a
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