[RESEND RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

Simon Glass sjg at chromium.org
Wed Dec 1 07:26:28 CET 2021


Hi,

On Thu, 25 Nov 2021 at 00:13, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> In the FWU Multi Bank Update feature, the information about the
> updatable images is stored as part of the metadata, which is stored on
> a dedicated partition. Add the metadata structure, and functions to
> access the metadata. These are generic API's, and implementations can
> be added based on parameters like how the metadata partition is
> accessed and what type of storage device houses the metadata.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
>  include/fwu_metadata.h         | 125 +++++++++++++++
>  lib/fwu_updates/fwu_metadata.c | 275 +++++++++++++++++++++++++++++++++
>  2 files changed, 400 insertions(+)
>  create mode 100644 include/fwu_metadata.h
>  create mode 100644 lib/fwu_updates/fwu_metadata.c

What is this, please? Could you add a link to the docs in the commit
message and something in doc/ as well?

Regards,
Simon


More information about the U-Boot mailing list