diff options
author | Eric Jin <eric.jin@intel.com> | 2019-07-26 15:40:37 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2019-08-15 17:22:24 +0800 |
commit | 278c3d48a7535a2c4aee01f8381ee56b13258c51 (patch) | |
tree | 388b81199ac2edf30d2137ebf60ac313f005b34f /FmpDevicePkg/FmpDevicePkg.dec | |
parent | e0961677d1b226c11fc39de4df2c2ecd0e7b9adc (diff) | |
download | edk2-278c3d48a7535a2c4aee01f8381ee56b13258c51.tar.gz edk2-278c3d48a7535a2c4aee01f8381ee56b13258c51.tar.bz2 edk2-278c3d48a7535a2c4aee01f8381ee56b13258c51.zip |
FmpDevicePkg/FmpDxe: Add PcdFmpDeviceImageTypeIdGuid
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525
Add PCD PcdFmpDeviceImageTypeIdGuid that contains an Image
Type ID GUID value that is used if one is not provided by
FmpDeviceLib. If this PCD is not a valid GUID value, then
gEfiCallerIdGuid is used.
Update FmpDevicePkg DSC to use PcdFmpDeviceImageTypeIdGuid
as a PatchableInModule PCD.
This content is based on the following commit.
https://github.com/microsoft/mu_tiano_plus/commit/a2c7da88d3a73dbe9b6b75952d6866179c905f28#diff-025d4889f6d3a482b49638a25e432d6d
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Eric Jin <eric.jin@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'FmpDevicePkg/FmpDevicePkg.dec')
-rw-r--r-- | FmpDevicePkg/FmpDevicePkg.dec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FmpDevicePkg/FmpDevicePkg.dec b/FmpDevicePkg/FmpDevicePkg.dec index c68dbb7153..56ed5fbb4a 100644 --- a/FmpDevicePkg/FmpDevicePkg.dec +++ b/FmpDevicePkg/FmpDevicePkg.dec @@ -96,6 +96,11 @@ # @Prompt Firmware Device Watchdog Time in Seconds.
gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressWatchdogTimeInSeconds|0x0|UINT8|0x4000000D
+ ## The Image Type ID to use if one is not provided by FmpDeviceLib. If this
+ # PCD is not a valid GUID value, then gEfiCallerIdGuid is used.
+ # @Prompt Firmware Device Image Type ID
+ gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageTypeIdGuid|{0}|VOID*|0x40000010
+
[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## One or more PKCS7 certificates used to verify a firmware device capsule
# update image. Encoded using the Variable-Length Opaque Data format of RFC
|