FWU: Add FWU metadata access driver for MTD storage regions
[platform/kernel/u-boot.git] / drivers / fwu-mdata / Kconfig
1 config FWU_MDATA
2         bool "Driver support for accessing FWU Metadata"
3         depends on DM
4         help
5           Enable support for accessing FWU Metadata partitions. The
6           FWU Metadata partitions reside on the same storage device
7           which contains the other FWU updatable firmware images.
8
9 choice
10         prompt "Storage Layout Scheme"
11         depends on FWU_MDATA
12         default FWU_MDATA_GPT_BLK
13
14 config FWU_MDATA_GPT_BLK
15         bool "FWU Metadata access for GPT partitioned Block devices"
16         select PARTITION_TYPE_GUID
17         select PARTITION_UUIDS
18         depends on FWU_MDATA && BLK && EFI_PARTITION
19         help
20           Enable support for accessing FWU Metadata on GPT partitioned
21           block devices.
22
23 config FWU_MDATA_MTD
24         bool "Raw MTD devices"
25         depends on MTD
26         help
27           Enable support for accessing FWU Metadata on non-partitioned
28           (or non-GPT partitioned, e.g. partition nodes in devicetree)
29           MTD devices.
30
31 endchoice