From nobody Sun May 5 21:55:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 152041052580756.183429907039795; Wed, 7 Mar 2018 00:15:25 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3FF9A21E082A5; Wed, 7 Mar 2018 00:09:09 -0800 (PST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 7786022135D2E for ; Wed, 7 Mar 2018 00:09:07 -0800 (PST) Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2018 00:15:22 -0800 Received: from shwde7172.ccr.corp.intel.com ([10.239.9.15]) by orsmga008.jf.intel.com with ESMTP; 07 Mar 2018 00:15:20 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,435,1515484800"; d="scan'208";a="23167772" From: Liming Gao To: edk2-devel@lists.01.org Date: Wed, 7 Mar 2018 16:15:18 +0800 Message-Id: <1520410518-17144-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [edk2] [Patch] MdeModulePkg PCD: Remove unused PCD attribute PCD_TYPE_SKU_ENABLED X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Reviewed-by : Liming Gao" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" PcdDb optimization has handled PCD DB for each SKU, not for single PCD. So, this PCD attribute is not used any more. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao Cc: Reviewed-by: Liming Gao --- MdeModulePkg/Include/Guid/PcdDataBaseSignatureGuid.h | 3 +-- MdeModulePkg/Universal/PCD/Dxe/Pcd.inf | 3 +-- MdeModulePkg/Universal/PCD/Dxe/PcdDxe.uni | 3 +-- MdeModulePkg/Universal/PCD/Pei/Pcd.inf | 3 +-- MdeModulePkg/Universal/PCD/Pei/PcdPeim.uni | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/MdeModulePkg/Include/Guid/PcdDataBaseSignatureGuid.h b/MdeModu= lePkg/Include/Guid/PcdDataBaseSignatureGuid.h index d670af1..5767ac8 100644 --- a/MdeModulePkg/Include/Guid/PcdDataBaseSignatureGuid.h +++ b/MdeModulePkg/Include/Guid/PcdDataBaseSignatureGuid.h @@ -1,7 +1,7 @@ /** @file Guid for Pcd DataBase Signature. =20 -Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made availabl= e under the terms and conditions of the BSD License that accompanies this distribu= tion. The full text of the license may be found at @@ -30,7 +30,6 @@ typedef UINT64 SKU_ID; #define PCD_TYPE_DATA (0x0U << PCD_TYPE_SHIFT) #define PCD_TYPE_HII (0x8U << PCD_TYPE_SHIFT) #define PCD_TYPE_VPD (0x4U << PCD_TYPE_SHIFT) -#define PCD_TYPE_SKU_ENABLED (0x2U << PCD_TYPE_SHIFT) #define PCD_TYPE_STRING (0x1U << PCD_TYPE_SHIFT) =20 #define PCD_TYPE_ALL_SET (PCD_TYPE_DATA | PCD_TYPE_HII | PCD_TYPE_VPD= | PCD_TYPE_SKU_ENABLED | PCD_TYPE_STRING) diff --git a/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf b/MdeModulePkg/Universa= l/PCD/Dxe/Pcd.inf index 54cd8d9..a20b645 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf +++ b/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf @@ -174,7 +174,6 @@ # PCD_TYPE_DATA # PCD_TYPE_HII # PCD_TYPE_VPD -# PCD_TYPE_SKU_ENABLED # PCD_TYPE_STRING # Datum Type : indicate PCD vaue type from following macro: # PCD_DATUM_TYPE_POINTER @@ -279,7 +278,7 @@ # - Variable GUID for HII type PCD # - Token space GUID for dynamicex type PCD=20 # =20 -# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the B= SD License diff --git a/MdeModulePkg/Universal/PCD/Dxe/PcdDxe.uni b/MdeModulePkg/Unive= rsal/PCD/Dxe/PcdDxe.uni index 922391c..0883ad8 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/PcdDxe.uni +++ b/MdeModulePkg/Universal/PCD/Dxe/PcdDxe.uni @@ -174,7 +174,6 @@ // PCD_TYPE_DATA // PCD_TYPE_HII // PCD_TYPE_VPD -// PCD_TYPE_SKU_ENABLED // PCD_TYPE_STRING // Datum Type : indicate PCD vaue type from following macro: // PCD_DATUM_TYPE_POINTER @@ -279,7 +278,7 @@ // - Variable GUID for HII type PCD // - Token space GUID for dynamicex type PCD // -// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
+// Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
// // This program and the accompanying materials // are licensed and made available under the terms and conditions of the B= SD License diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf b/MdeModulePkg/Universa= l/PCD/Pei/Pcd.inf index e1ea5be..3cba289 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf +++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf @@ -173,7 +173,6 @@ # PCD_TYPE_DATA # PCD_TYPE_HII # PCD_TYPE_VPD -# PCD_TYPE_SKU_ENABLED # PCD_TYPE_STRING # Datum Type : indicate PCD vaue type from following macro: # PCD_DATUM_TYPE_POINTER @@ -278,7 +277,7 @@ # - Variable GUID for HII type PCD # - Token space GUID for dynamicex type PCD=20 # =20 -# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the B= SD License diff --git a/MdeModulePkg/Universal/PCD/Pei/PcdPeim.uni b/MdeModulePkg/Univ= ersal/PCD/Pei/PcdPeim.uni index b0d3f1f..3e7c556 100644 --- a/MdeModulePkg/Universal/PCD/Pei/PcdPeim.uni +++ b/MdeModulePkg/Universal/PCD/Pei/PcdPeim.uni @@ -173,7 +173,6 @@ // PCD_TYPE_DATA // PCD_TYPE_HII // PCD_TYPE_VPD -// PCD_TYPE_SKU_ENABLED // PCD_TYPE_STRING // Datum Type : indicate PCD vaue type from following macro: // PCD_DATUM_TYPE_POINTER @@ -278,7 +277,7 @@ // - Variable GUID for HII type PCD // - Token space GUID for dynamicex type PCD // -// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
+// Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
// // This program and the accompanying materials // are licensed and made available under the terms and conditions of the B= SD License --=20 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel