summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2016-06-17 17:24:02 +0800
committerJiewen Yao <jiewen.yao@intel.com>2016-06-18 07:19:04 +0800
commitcc0b456a05f8dd1ebfb9be485465be37e96999e7 (patch)
tree2c7fe447fec9ae5352c84f47f8b8f7166842b775
parentf862a3b6f9dc026ea0e108fd548c65c75346bada (diff)
downloadedk2-platforms-cc0b456a05f8dd1ebfb9be485465be37e96999e7.tar.xz
IntelFsp2Pkg: rename GetFspVpdDataPointer() to GetFspCfgRegionDataPointer()
FSP2.0 removed VPD concept. Rename GetFspVpdDataPointer() to GetFspCfgRegionDataPointer() to follow FSP2.0 specification (CfgRegionOffset). Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Amy Chan <amy.chan@intel.com> Cc: Satya Yarlagadda <satya.p.yarlagadda@intel.com> Cc: Maurice Ma <maurice.ma@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Amy Chan <amy.chan@intel.com>
-rw-r--r--IntelFsp2Pkg/Include/Library/FspCommonLib.h6
-rw-r--r--IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/IntelFsp2Pkg/Include/Library/FspCommonLib.h b/IntelFsp2Pkg/Include/Library/FspCommonLib.h
index 0bb0c53786..e13d0c3346 100644
--- a/IntelFsp2Pkg/Include/Library/FspCommonLib.h
+++ b/IntelFsp2Pkg/Include/Library/FspCommonLib.h
@@ -234,13 +234,13 @@ GetFspInfoHeaderFromApiContext (
);
/**
- This function gets the VPD data pointer.
+ This function gets the CfgRegion data pointer.
- @return VpdDataRgnPtr VPD data pointer.
+ @return CfgRegion data pointer.
**/
VOID *
EFIAPI
-GetFspVpdDataPointer (
+GetFspCfgRegionDataPointer (
VOID
);
diff --git a/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c b/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c
index efd55f464c..151b189343 100644
--- a/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c
+++ b/IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c
@@ -425,13 +425,13 @@ GetFspInfoHeaderFromApiContext (
}
/**
- This function gets the VPD data pointer.
+ This function gets the CfgRegion data pointer.
- @return VpdDataRgnPtr VPD data pointer.
+ @return CfgRegion data pointer.
**/
VOID *
EFIAPI
-GetFspVpdDataPointer (
+GetFspCfgRegionDataPointer (
VOID
)
{