From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=zhichao.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DEFA7211E2F10 for ; Thu, 21 Mar 2019 19:22:42 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 19:22:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,255,1549958400"; d="scan'208";a="330869015" Received: from gaozhic-mobl.ccr.corp.intel.com ([10.239.196.107]) by fmsmga005.fm.intel.com with ESMTP; 21 Mar 2019 19:22:41 -0700 From: Zhichao Gao To: edk2-devel@lists.01.org Cc: Liming Gao , Michael D Kinney Date: Fri, 22 Mar 2019 10:22:35 +0800 Message-Id: <20190322022236.544-2-zhichao.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20190322022236.544-1-zhichao.gao@intel.com> References: <20190322022236.544-1-zhichao.gao@intel.com> Subject: [PATCH 1/2] FmpDevicePkg/FmpDevucePkg.dec: Add a pcd X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2019 02:22:43 -0000 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1638 Add a pcd named PcdFmpDeviceImageDefaultTypeIdGuid. This is used to provide a default Image Type Id for FmpDxe driver instead of the gEfiCallerIdGuid. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhichao Gao Cc: Liming Gao Cc: Michael D Kinney --- FmpDevicePkg/FmpDevicePkg.dec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/FmpDevicePkg/FmpDevicePkg.dec b/FmpDevicePkg/FmpDevicePkg.dec index ad0730a532..e9261b7e7f 100644 --- a/FmpDevicePkg/FmpDevicePkg.dec +++ b/FmpDevicePkg/FmpDevicePkg.dec @@ -7,7 +7,7 @@ # customized using libraries and PCDs. # # Copyright (c) 2016, Microsoft Corporation. All rights reserved.
-# Copyright (c) 2018, Intel Corporation. All rights reserved.
+# Copyright (c) 2018 - 2019, Intel Corporation. All rights reserved.
# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -121,5 +121,11 @@ # @Prompt Firmware Device Lock Event GUID. gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid|{0}|VOID*|0x4000000F + ## The default Image Type ID to use if none is specified by the FmpDeviceLib. + # If this PCD is not a valid GUID value, the the FmpDxe driver will ASSERT + # and fall back to the gEfiCallerIdGuid (FILE_GUID for the specific driver). + # @Prompt Firmware Device Default Image Type ID + gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageDefaultTypeIdGuid|{0}|VOID*|0x40000010 + [UserExtensions.TianoCore."ExtraFiles"] FmpDevicePkgExtra.uni -- 2.16.2.windows.1