diff options
| author | Masami Hiramatsu <[email protected]> | 2023-05-31 00:29:14 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-06-09 13:52:40 -0400 |
| commit | 4898679e190770ad19917dfc01bc192df0cdfdee (patch) | |
| tree | c01fb2da03b2ad3790977e1a28aca7bc7f74ef88 /drivers/fwu-mdata/Kconfig | |
| parent | 72168b929e0fb69aa0a133703ad9dee02c7aa561 (diff) | |
FWU: Add FWU metadata access driver for MTD storage regions
In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, on a separate
region. Add a driver for reading from and writing to the metadata
when the updatable images and the metadata are stored on a raw
MTD region.
The code is divided into core under drivers/fwu-mdata/ and some helper
functions clubbed together under lib/fwu_updates/
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/fwu-mdata/Kconfig')
| -rw-r--r-- | drivers/fwu-mdata/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/fwu-mdata/Kconfig b/drivers/fwu-mdata/Kconfig index 36c4479a59e..42736a5e43b 100644 --- a/drivers/fwu-mdata/Kconfig +++ b/drivers/fwu-mdata/Kconfig @@ -6,6 +6,11 @@ config FWU_MDATA FWU Metadata partitions reside on the same storage device which contains the other FWU updatable firmware images. +choice + prompt "Storage Layout Scheme" + depends on FWU_MDATA + default FWU_MDATA_GPT_BLK + config FWU_MDATA_GPT_BLK bool "FWU Metadata access for GPT partitioned Block devices" select PARTITION_TYPE_GUID @@ -14,3 +19,13 @@ config FWU_MDATA_GPT_BLK help Enable support for accessing FWU Metadata on GPT partitioned block devices. + +config FWU_MDATA_MTD + bool "Raw MTD devices" + depends on MTD + help + Enable support for accessing FWU Metadata on non-partitioned + (or non-GPT partitioned, e.g. partition nodes in devicetree) + MTD devices. + +endchoice |
