[PATCH] fwu-mdata: Allow multiple metadata storage drivers to be enabled

Tom Rini trini at konsulko.com
Wed Jan 14 15:49:18 CET 2026


On Wed, Jan 14, 2026 at 10:56:53AM +0100, Kory Maincent wrote:

> Change the Kconfig from a "choice" to a conditional block, allowing
> multiple FWU metadata storage drivers to be selected simultaneously
> instead of being mutually exclusive.
> 
> This enables systems with FWU metadata on different storage types
> (e.g., both GPT-partitioned block devices and MTD devices) to have
> both drivers compiled in. The board can then select the appropriate
> driver at runtime based on the devicetree description.
> 
> The change converts FWU_MDATA to a menuconfig and replaces the
> "choice/endchoice" block with "if FWU_MDATA/endif", making
> FWU_MDATA_GPT_BLK default to 'y' for backward compatibility.
> 
> Signed-off-by: Kory Maincent <kory.maincent at bootlin.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260114/9dfccd63/attachment.sig>


More information about the U-Boot mailing list