MdeModulePkg PCD: Remove unused PCD attribute PCD_TYPE_SKU_ENABLED

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 <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Gao, Liming 2018-03-07 16:15:18 +08:00 committed by Liming Gao
parent 87a1f65e80
commit e8d2a98052
5 changed files with 5 additions and 10 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
Guid for Pcd DataBase Signature. Guid for Pcd DataBase Signature.
Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR> Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution. the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at 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_DATA (0x0U << PCD_TYPE_SHIFT)
#define PCD_TYPE_HII (0x8U << PCD_TYPE_SHIFT) #define PCD_TYPE_HII (0x8U << PCD_TYPE_SHIFT)
#define PCD_TYPE_VPD (0x4U << 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) #define PCD_TYPE_STRING (0x1U << PCD_TYPE_SHIFT)
#define PCD_TYPE_ALL_SET (PCD_TYPE_DATA | PCD_TYPE_HII | PCD_TYPE_VPD | PCD_TYPE_SKU_ENABLED | PCD_TYPE_STRING) #define PCD_TYPE_ALL_SET (PCD_TYPE_DATA | PCD_TYPE_HII | PCD_TYPE_VPD | PCD_TYPE_SKU_ENABLED | PCD_TYPE_STRING)

View File

@ -174,7 +174,6 @@
# PCD_TYPE_DATA # PCD_TYPE_DATA
# PCD_TYPE_HII # PCD_TYPE_HII
# PCD_TYPE_VPD # PCD_TYPE_VPD
# PCD_TYPE_SKU_ENABLED
# PCD_TYPE_STRING # PCD_TYPE_STRING
# Datum Type : indicate PCD vaue type from following macro: # Datum Type : indicate PCD vaue type from following macro:
# PCD_DATUM_TYPE_POINTER # PCD_DATUM_TYPE_POINTER
@ -279,7 +278,7 @@
# - Variable GUID for HII type PCD # - Variable GUID for HII type PCD
# - Token space GUID for dynamicex type PCD # - Token space GUID for dynamicex type PCD
# #
# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License

View File

@ -174,7 +174,6 @@
// PCD_TYPE_DATA // PCD_TYPE_DATA
// PCD_TYPE_HII // PCD_TYPE_HII
// PCD_TYPE_VPD // PCD_TYPE_VPD
// PCD_TYPE_SKU_ENABLED
// PCD_TYPE_STRING // PCD_TYPE_STRING
// Datum Type : indicate PCD vaue type from following macro: // Datum Type : indicate PCD vaue type from following macro:
// PCD_DATUM_TYPE_POINTER // PCD_DATUM_TYPE_POINTER
@ -279,7 +278,7 @@
// - Variable GUID for HII type PCD // - Variable GUID for HII type PCD
// - Token space GUID for dynamicex type PCD // - Token space GUID for dynamicex type PCD
// //
// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> // Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
// //
// This program and the accompanying materials // This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License // are licensed and made available under the terms and conditions of the BSD License

View File

@ -173,7 +173,6 @@
# PCD_TYPE_DATA # PCD_TYPE_DATA
# PCD_TYPE_HII # PCD_TYPE_HII
# PCD_TYPE_VPD # PCD_TYPE_VPD
# PCD_TYPE_SKU_ENABLED
# PCD_TYPE_STRING # PCD_TYPE_STRING
# Datum Type : indicate PCD vaue type from following macro: # Datum Type : indicate PCD vaue type from following macro:
# PCD_DATUM_TYPE_POINTER # PCD_DATUM_TYPE_POINTER
@ -278,7 +277,7 @@
# - Variable GUID for HII type PCD # - Variable GUID for HII type PCD
# - Token space GUID for dynamicex type PCD # - Token space GUID for dynamicex type PCD
# #
# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License

View File

@ -173,7 +173,6 @@
// PCD_TYPE_DATA // PCD_TYPE_DATA
// PCD_TYPE_HII // PCD_TYPE_HII
// PCD_TYPE_VPD // PCD_TYPE_VPD
// PCD_TYPE_SKU_ENABLED
// PCD_TYPE_STRING // PCD_TYPE_STRING
// Datum Type : indicate PCD vaue type from following macro: // Datum Type : indicate PCD vaue type from following macro:
// PCD_DATUM_TYPE_POINTER // PCD_DATUM_TYPE_POINTER
@ -278,7 +277,7 @@
// - Variable GUID for HII type PCD // - Variable GUID for HII type PCD
// - Token space GUID for dynamicex type PCD // - Token space GUID for dynamicex type PCD
// //
// Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> // Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
// //
// This program and the accompanying materials // This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License // are licensed and made available under the terms and conditions of the BSD License