From c745144407fa76e6a6ca9146f41397f292d25a94 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Fri, 20 May 2016 12:20:04 +0800 Subject: MdePkg: Follow PI1.4a to fix artificial limitation of SkuId range There is absolutely no reason to artificially limit the SKU range to 1-255. PI1.4a spec fixed the artificial limitation. This patch is to follow PI1.4a spec to remove PCD_MAX_SKU_ID definition, the check to PCD_MAX_SKU_ID and the comments describes the limitation. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao --- MdePkg/Library/BasePcdLibNull/PcdLib.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'MdePkg/Library/BasePcdLibNull/PcdLib.c') diff --git a/MdePkg/Library/BasePcdLibNull/PcdLib.c b/MdePkg/Library/BasePcdLibNull/PcdLib.c index 5d914ada56..4fc3672b7a 100644 --- a/MdePkg/Library/BasePcdLibNull/PcdLib.c +++ b/MdePkg/Library/BasePcdLibNull/PcdLib.c @@ -1,7 +1,7 @@ /** @file A emptry template implementation of PCD Library. - Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,8 +26,6 @@ @param[in] SkuId The SKU value that will be used when the PCD service will retrieve and set values associated with a PCD token. - - If SkuId >= 0x100, then ASSERT(). @return Return the SKU ID that just be set. @@ -1465,8 +1463,6 @@ LibPcdGetInfoEx ( /** Retrieve the currently set SKU Id. - If the sku id got >= PCD_MAX_SKU_ID, then ASSERT(). - @return The currently set SKU Id. If the platform has not set at a SKU Id, then the default SKU Id value of 0 is returned. If the platform has set a SKU Id, then the currently set SKU Id is returned. -- cgit v1.2.3