]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspWrapperPkg/FspInitPei/FspInitPei.inf
Update IntelFspWrapperPkg according to FSP1.1.
[mirror_edk2.git] / IntelFspWrapperPkg / FspInitPei / FspInitPei.inf
index 500c9fd238e92e2b3c65173ebc02bdc5349159a1..97e88138bd504ad05c2428449ee02e76e7337445 100644 (file)
@@ -1,9 +1,13 @@
 ## @file\r
 # FSP PEI Module\r
 #\r
 ## @file\r
 # FSP PEI Module\r
 #\r
-# This PEIM will be invoked twice by pei core. In 1st entry, it will call FspInit API.\r
-# In 2nd entry, it will parse the hoblist from fsp and report them into pei core.\r
-# including install the memory as required.\r
+# This PEIM initialize FSP.\r
+# In FSP API V1 mode, it will be invoked twice by pei core. In 1st entry, it will\r
+# call FspInit API. In 2nd entry, it will parse the hoblist from fsp and report\r
+# them into pei core.\r
+# In FSP API V2 mode, it will be invoked only once. It will call FspMemoryInit API,\r
+# register TemporaryRamDonePpi to call TempRamExit API, and register MemoryDiscoveredPpi\r
+# notify to call FspSiliconInit API.\r
 #\r
 #  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #\r
 #  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
 #\r
 [Sources]\r
   FspInitPei.c\r
   FspInitPei.h\r
 [Sources]\r
   FspInitPei.c\r
   FspInitPei.h\r
+  FspInitPeiV1.c\r
+  FspInitPeiV2.c\r
   FspNotifyS3.c\r
   SecMain.c\r
   SecMain.h\r
   FindPeiCore.c\r
   FspNotifyS3.c\r
   SecMain.c\r
   SecMain.h\r
   FindPeiCore.c\r
-  SecFspInitDone.c\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
@@ -67,6 +72,8 @@
   gTopOfTemporaryRamPpiGuid             ## PRODUCES\r
   gFspInitDonePpiGuid                   ## PRODUCES\r
   gEfiEndOfPeiSignalPpiGuid             ## PRODUCES\r
   gTopOfTemporaryRamPpiGuid             ## PRODUCES\r
   gFspInitDonePpiGuid                   ## PRODUCES\r
   gEfiEndOfPeiSignalPpiGuid             ## PRODUCES\r
+  gEfiTemporaryRamDonePpiGuid           ## PRODUCES\r
+  gEfiPeiMemoryDiscoveredPpiGuid        ## PRODUCES\r
 \r
 [FixedPcd]\r
   gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported         ## CONSUMES\r
 \r
 [FixedPcd]\r
   gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported         ## CONSUMES\r
@@ -76,6 +83,7 @@
   gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase                 ## CONSUMES\r
   gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize                 ## CONSUMES\r
   gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize               ## CONSUMES\r
   gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase                 ## CONSUMES\r
   gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize                 ## CONSUMES\r
   gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize               ## CONSUMES\r
+  gFspWrapperTokenSpaceGuid.PcdFspApiVersion                  ## CONSUMES\r
 \r
 [Depex]\r
   gEfiPeiMasterBootModePpiGuid\r
 \r
 [Depex]\r
   gEfiPeiMasterBootModePpiGuid\r