
On Thu, 14 Jul 2022 at 13:40, Sughosh Ganu sughosh.ganu@linaro.org wrote:
Add helper functions needed for accessing the FWU metadata which contains information on the updatable images. These functions have been added for the STM32MP157C-DK2 board which has the updatable images on the uSD card, formatted as GPT partitions.
Signed-off-by: Sughosh Ganu sughosh.ganu@linaro.org Reviewed-by: Patrick Delaunay patrick.delaunay@foss.st.com
Changes since V6: None
board/st/stm32mp1/stm32mp1.c | 40 ++++++++++++++++ include/fwu.h | 3 ++ lib/fwu_updates/Makefile | 6 +++ lib/fwu_updates/fwu_gpt.c | 88 ++++++++++++++++++++++++++++++++++++ 4 files changed, 137 insertions(+) create mode 100644 lib/fwu_updates/Makefile create mode 100644 lib/fwu_updates/fwu_gpt.c
fwu_gpt is to be used by all platforms that have the gpt-scheme, not just STM.
So do you want to break this patch into two ? One generic that introduces the helper functions and another for stm using that api
Also, you may want to specify GPL-2.0-or-later everywhere.
thanks.