]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
IntelFsp2WrapperPkg: Support FSP Dispatch mode
[mirror_edk2.git] / IntelFsp2WrapperPkg / IntelFsp2WrapperPkg.dec
index 69df16452d8865f23a93cc8b7d9f18586be841c3..96f2858fb4b779a3888e1dfde24afa94c7247a01 100644 (file)
@@ -71,9 +71,8 @@
   ## Indicate the PEI memory size platform want to report\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdPeiRecoveryMinMemSize|0x3000000|UINT32|0x40000005\r
 \r
   ## Indicate the PEI memory size platform want to report\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdPeiRecoveryMinMemSize|0x3000000|UINT32|0x40000005\r
 \r
-  ## This is the base address of FSP-T/M/S\r
+  ## This is the base address of FSP-T\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdFsptBaseAddress|0x00000000|UINT32|0x00000300\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdFsptBaseAddress|0x00000000|UINT32|0x00000300\r
-  gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress|0x00000000|UINT32|0x00000301\r
 \r
   ## This PCD indicates if FSP APIs are skipped from FSP wrapper.<BR><BR>\r
   #  If a bit is set, that means this FSP API is skipped.<BR>\r
 \r
   ## This PCD indicates if FSP APIs are skipped from FSP wrapper.<BR><BR>\r
   #  If a bit is set, that means this FSP API is skipped.<BR>\r
   # @Prompt Skip FSP API from FSP wrapper.\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdSkipFspApi|0x00000000|UINT32|0x40000009\r
 \r
   # @Prompt Skip FSP API from FSP wrapper.\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdSkipFspApi|0x00000000|UINT32|0x40000009\r
 \r
+  ## This PCD decides how Wrapper code utilizes FSP\r
+  # 0: DISPATCH mode (FSP Wrapper will load PeiCore from FSP without calling FSP API)\r
+  # 1: API mode (FSP Wrapper will call FSP API)\r
+  #\r
+  gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0x00000001|UINT8|0x4000000A\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule,PcdsDynamic,PcdsDynamicEx]\r
 [PcdsFixedAtBuild, PcdsPatchableInModule,PcdsDynamic,PcdsDynamicEx]\r
+  #\r
+  ## These are the base address of FSP-M/S\r
+  #\r
+  gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress|0x00000000|UINT32|0x00001000\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdFspsBaseAddress|0x00000000|UINT32|0x00001001\r
   #\r
   # To provide flexibility for platform to pre-allocate FSP UPD buffer\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdFspsBaseAddress|0x00000000|UINT32|0x00001001\r
   #\r
   # To provide flexibility for platform to pre-allocate FSP UPD buffer\r