summaryrefslogtreecommitdiff
path: root/Platform/Intel
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2017-07-17 10:45:33 +0800
committerJiewen Yao <jiewen.yao@intel.com>2017-07-17 12:21:25 +0800
commitf7cb7caef631de57f609688d47674f1af627cd8e (patch)
tree773c8ea713b26d2eecf02ef2ffa0f72f0ab98297 /Platform/Intel
parentfc4bdd554d4c003d6dba4546a6c8ee0aa0f21827 (diff)
downloadedk2-platforms-f7cb7caef631de57f609688d47674f1af627cd8e.tar.xz
Update comment for FspPolicyInit/Update.
Suggested-by: Pai-chingX Chen <pai-chingx.chen@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'Platform/Intel')
-rw-r--r--Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/PeiFspPolicyUpdateLib/PeiFspPolicyUpdateLib.c18
-rw-r--r--Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyInitLib.h16
-rw-r--r--Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyUpdateLib.h18
3 files changed, 52 insertions, 0 deletions
diff --git a/Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/PeiFspPolicyUpdateLib/PeiFspPolicyUpdateLib.c b/Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/PeiFspPolicyUpdateLib/PeiFspPolicyUpdateLib.c
index 52d84c17d6..3f29f736fb 100644
--- a/Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/PeiFspPolicyUpdateLib/PeiFspPolicyUpdateLib.c
+++ b/Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/PeiFspPolicyUpdateLib/PeiFspPolicyUpdateLib.c
@@ -114,6 +114,15 @@ InternalPrintVariableData (
DEBUG ((DEBUG_INFO, "\n"));
}
+/**
+ Performs FSPM UPD Policy update.
+
+ A platform may use this API to update the FSPM UPD policy initialized
+ by the silicon module or the default UPD data.
+ The output of FSPM UPD data from this API is the final UPD data.
+
+ @param[in, out] FspmUpd Pointer to FSPM UPD data.
+**/
VOID
EFIAPI
FspmPolicyUpdate (
@@ -130,6 +139,15 @@ FspmPolicyUpdate (
InternalPrintVariableData ((VOID *)FspmUpdDataPtr, sizeof(FSPM_UPD));
}
+/**
+ Performs FSPS UPD Policy update.
+
+ A platform may use this API to update the FSPS UPD policy initialized
+ by the silicon module or the default UPD data.
+ The output of FSPS UPD data from this API is the final UPD data.
+
+ @param[in, out] FspsUpd Pointer to FSPS UPD data.
+**/
VOID
EFIAPI
FspsPolicyUpdate (
diff --git a/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyInitLib.h b/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyInitLib.h
index 40330e0113..ba95a32c85 100644
--- a/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyInitLib.h
+++ b/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyInitLib.h
@@ -15,12 +15,28 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _FSP_POLICY_INIT_LIB_H_
#define _FSP_POLICY_INIT_LIB_H_
+/**
+ Performs FSPM UPD Policy initialization.
+
+ Value of FspmUpd has been initialized by FSP binary default value.
+ Only a subset of FspmUpd needs to be updated for different silicon sku.
+
+ @param[in, out] FspmUpd Pointer to FSPM UPD data.
+**/
VOID
EFIAPI
FspmPolicyInit (
IN OUT VOID *FspmUpd
);
+/**
+ Performs FSPS UPD Policy initialization.
+
+ Value of FspsUpd has been initialized by FSP binary default value.
+ Only a subset of FspsUpd needs to be updated for different silicon sku.
+
+ @param[in, out] FspsUpd Pointer to FSPS UPD data.
+**/
VOID
EFIAPI
FspsPolicyInit (
diff --git a/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyUpdateLib.h b/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyUpdateLib.h
index 977c4b2052..8726d21ebc 100644
--- a/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyUpdateLib.h
+++ b/Platform/Intel/MinPlatformPkg/Include/Library/FspPolicyUpdateLib.h
@@ -15,12 +15,30 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef _FSP_POLICY_UPDATE_LIB_H_
#define _FSP_POLICY_UPDATE_LIB_H_
+/**
+ Performs FSPM UPD Policy update.
+
+ A platform may use this API to update the FSPM UPD policy initialized
+ by the silicon module or the default UPD data.
+ The output of FSPM UPD data from this API is the final UPD data.
+
+ @param[in, out] FspmUpd Pointer to FSPM UPD data.
+**/
VOID
EFIAPI
FspmPolicyUpdate (
IN OUT VOID *FspmUpd
);
+/**
+ Performs FSPS UPD Policy update.
+
+ A platform may use this API to update the FSPS UPD policy initialized
+ by the silicon module or the default UPD data.
+ The output of FSPS UPD data from this API is the final UPD data.
+
+ @param[in, out] FspsUpd Pointer to FSPS UPD data.
+**/
VOID
EFIAPI
FspsPolicyUpdate (