Add a pcd to provide a default image type ID for FmpDxe
driver instead of gEfiCallerIdGuid. If the pcd is not
initialized as a GUID type, then it will assert and
fall back to gEfiCallerIdGuid in function GetImageTypeIdGuid.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhichao Gao <zhichao....@intel.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>

Zhichao Gao (2):
  FmpDevicePkg/FmpDevucePkg.dec: Add a pcd
  FmpDevicePkg/FmpDxe: Change the default Image Type ID

 FmpDevicePkg/FmpDevicePkg.dec     |  8 +++++++-
 FmpDevicePkg/FmpDxe/FmpDxe.c      | 26 ++++++++++++++++++--------
 FmpDevicePkg/FmpDxe/FmpDxe.inf    |  3 ++-
 FmpDevicePkg/FmpDxe/FmpDxeLib.inf |  3 ++-
 4 files changed, 29 insertions(+), 11 deletions(-)

-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to