summaryrefslogtreecommitdiff
path: root/lib/fwu_updates/Kconfig
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-05-24 13:42:07 -0600
committerTom Rini <[email protected]>2024-05-24 13:42:07 -0600
commit7e52d6ccfb76e2afc2d183b357abe2a2e2f948cf (patch)
tree13766eee290b99a1bb0254235841a0e4c492d62f /lib/fwu_updates/Kconfig
parent6b9ae5789e9beef7fb78893c7c831e2b31b705f6 (diff)
parente32c15d6041e9298673c75b26cc6af1266046dc5 (diff)
Merge patch series "FWU: Add support for FWU metadata version 2"
Sughosh Ganu <[email protected]> says: The following patch series adds support for version 2 of the FWU metadata. The version 2 metadata structure is defined in the latest revision of the FWU specification [1]. The earlier versions of these patches were migrating to a version 2 only support in U-Boot, similar to TF-A. However, based on feedback from ST [2], this series has been updated to support both versions. A platform would still be needed to enable one of the two versions of metadata through a config symbol. TF-A has code which reads the FWU metadata and boots the platform from the active partition. TF-A has decided to migrate the FWU code to a version 2 only support. These changes have been merged in upstream TF-A. These changes have been tested on the ST DK2 board, which uses the GPT based partitioning scheme. Both V1 and V2 metadata versions have been tested on the DK2 board. These changes need to be tested on platforms with MTD partitioned storage devices.
Diffstat (limited to 'lib/fwu_updates/Kconfig')
-rw-r--r--lib/fwu_updates/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/fwu_updates/Kconfig b/lib/fwu_updates/Kconfig
index d35247d0e5d..51b7fbbefd3 100644
--- a/lib/fwu_updates/Kconfig
+++ b/lib/fwu_updates/Kconfig
@@ -31,4 +31,18 @@ config FWU_TRIAL_STATE_CNT
the platform is allowed to boot in Trial State after an
update.
+config FWU_MDATA_V1
+ bool "Enable support FWU Metadata version 1"
+ help
+ The FWU specification supports two versions of the
+ metadata structure. This option enables support for FWU
+ Metadata version 1 access.
+
+config FWU_MDATA_V2
+ bool "Enable support FWU Metadata version 2"
+ help
+ The FWU specification supports two versions of the
+ metadata structure. This option enables support for FWU
+ Metadata version 2 access.
+
endif