This series originates from the implementation of the A/B update scheme on a custom board based on the STM32MP2 platform. The addition of the dumpfwumdata tool required changes to its counterpart mkfwumdata in order to ensure code consistency and readability. Finally, I considered it useful to enable both tools in the tools-only configuration.
Dario Binacchi (5): tools: build mkfwumdata with tools-only_defconfig fwu: centralize bank state macros in fwu_mdata.h fwu: use FWU_MAX_STATE_BANKS for bank_state array tools: Add dumpfwumdata tool for FWU metadata image tools: build dumpfwumdata with tools-only_defconfig configs/tools-only_defconfig | 2 + include/fwu.h | 4 -- include/fwu_mdata.h | 9 ++- tools/Kconfig | 7 ++ tools/Makefile | 4 ++ tools/dumpfwumdata.c | 128 +++++++++++++++++++++++++++++++++++ tools/mkfwumdata.c | 10 +-- 7 files changed, 151 insertions(+), 13 deletions(-) create mode 100644 tools/dumpfwumdata.c -- 2.43.0 base-commit: 56cac250b0839ddbad1311d3ca4231f532b5aadf branch: fwumdata

