## @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, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\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
- SecFspInitDone.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
FspApiLib\r
\r
[Ppis]\r
- gTopOfTemporaryRamPpiGuid\r
- gFspInitDonePpiGuid\r
- gEfiEndOfPeiSignalPpiGuid\r
+ gTopOfTemporaryRamPpiGuid ## PRODUCES\r
+ gFspInitDonePpiGuid ## PRODUCES\r
+ gEfiEndOfPeiSignalPpiGuid ## PRODUCES\r
+ gEfiTemporaryRamDonePpiGuid ## PRODUCES\r
+ gEfiPeiMemoryDiscoveredPpiGuid ## PRODUCES\r
\r
[FixedPcd]\r
- gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported\r
+ gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported ## CONSUMES\r
\r
[Pcd]\r
- gFspWrapperTokenSpaceGuid.PcdPeiTemporaryRamStackSize\r
- gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase\r
- gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize\r
- gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize\r
+ gFspWrapperTokenSpaceGuid.PcdPeiTemporaryRamStackSize ## CONSUMES\r
+ gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase ## CONSUMES\r
+ gFspWrapperTokenSpaceGuid.PcdFlashFvSecondFspBase ## CONSUMES\r
+ gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize ## CONSUMES\r
+ gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize ## CONSUMES\r
+ gFspWrapperTokenSpaceGuid.PcdFspApiVersion ## CONSUMES\r
\r
[Depex]\r
gEfiPeiMasterBootModePpiGuid\r