diff options
author | Zhang Xiaoqiang <xiaoqiang.zhang@intel.com> | 2021-09-16 11:44:47 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-09-22 08:37:09 +0000 |
commit | f334c5a41dc4702b1c767c6614025aa2f802f9a4 (patch) | |
tree | ca6e4942c98d2db1ee54a7e45be52fb0c640bed4 /IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec | |
parent | 542cba73d21b7bcc1e3852a9d9843d5fffc2d173 (diff) | |
download | edk2-f334c5a41dc4702b1c767c6614025aa2f802f9a4.zip edk2-f334c5a41dc4702b1c767c6614025aa2f802f9a4.tar.gz edk2-f334c5a41dc4702b1c767c6614025aa2f802f9a4.tar.bz2 |
IntelFsp2WrapperPkg: Make PcdFspModeSelection dynamic
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3632
PcdFspModeSelection will be used to set FSP mode.
Make PcdFspModeSelection dynamic and set it accordingly.
Signed-off-by: Zhang Xiaoqiang <xiaoqiang.zhang@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Diffstat (limited to 'IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec')
-rw-r--r-- | IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec index a3b9363..b8dac1b 100644 --- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec @@ -82,12 +82,6 @@ # @Prompt Skip FSP API from FSP wrapper.
gIntelFsp2WrapperTokenSpaceGuid.PcdSkipFspApi|0x00000000|UINT32|0x40000009
- ## This PCD decides how Wrapper code utilizes FSP
- # 0: DISPATCH mode (FSP Wrapper will load PeiCore from FSP without calling FSP API)
- # 1: API mode (FSP Wrapper will call FSP API)
- #
- gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0x00000001|UINT8|0x4000000A
-
## This PCD decides how FSP is measured
# 1) The BootGuard ACM may already measured the FSP component, such as FSPT/FSPM.
# We need a flag (PCD) to indicate if there is need to do such FSP measurement or NOT.
@@ -106,6 +100,12 @@ gIntelFsp2WrapperTokenSpaceGuid.PcdFspMeasurementConfig|0x00000000|UINT32|0x4000000B
[PcdsFixedAtBuild, PcdsPatchableInModule,PcdsDynamic,PcdsDynamicEx]
+ ## This PCD decides how Wrapper code utilizes FSP
+ # 0: DISPATCH mode (FSP Wrapper will load PeiCore from FSP without calling FSP API)
+ # 1: API mode (FSP Wrapper will call FSP API)
+ #
+ gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0x00000001|UINT8|0x4000000A
+
#
## These are the base address of FSP-M/S
#
|