1## @file
2# FSP PEI Module
3#
4# This PEIM initialize FSP.
5# In FSP API V1 mode, it will be invoked twice by pei core. In 1st entry, it will
6# call FspInit API. In 2nd entry, it will parse the hoblist from fsp and report
7# them into pei core.
8# In FSP API V2 mode, it will be invoked only once. It will call FspMemoryInit API,
9# register TemporaryRamDonePpi to call TempRamExit API, and register MemoryDiscoveredPpi
10# notify to call FspSiliconInit API.
11#
12#  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
13#
14#  This program and the accompanying materials
15#  are licensed and made available under the terms and conditions of the BSD License
16#  which accompanies this distribution. The full text of the license may be found at
17#  http://opensource.org/licenses/bsd-license.php.
18#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
19#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
20#
21##
22
23[Defines]
24  INF_VERSION                    = 0x00010005
25  BASE_NAME                      = FspInitPeim
26  FILE_GUID                      = BC59E2E1-7492-4031-806E-C48DCCC3A026
27  MODULE_TYPE                    = PEIM
28  VERSION_STRING                 = 1.0
29  ENTRY_POINT                    = FspPeiEntryPoint
30
31#
32# The following information is for reference only and not required by the build tools.
33#
34#  VALID_ARCHITECTURES           = IA32
35#
36
37[Sources]
38  FspInitPei.c
39  FspInitPei.h
40  FspInitPeiV1.c
41  FspInitPeiV2.c
42  FspNotifyS3.c
43  SecMain.c
44  SecMain.h
45  FindPeiCore.c
46
47[Packages]
48  MdePkg/MdePkg.dec
49  MdeModulePkg/MdeModulePkg.dec
50  UefiCpuPkg/UefiCpuPkg.dec
51  IntelFspPkg/IntelFspPkg.dec
52  IntelFspWrapperPkg/IntelFspWrapperPkg.dec
53
54[LibraryClasses]
55  PeimEntryPoint
56  PeiServicesLib
57  PeiServicesTablePointerLib
58  BaseLib
59  BaseMemoryLib
60  DebugLib
61  HobLib
62  FspPlatformInfoLib
63  FspHobProcessLib
64  FspPlatformSecLib
65  DebugAgentLib
66  UefiCpuLib
67  PeCoffGetEntryPointLib
68  PeCoffExtraActionLib
69  FspApiLib
70
71[Ppis]
72  gTopOfTemporaryRamPpiGuid             ## PRODUCES
73  gFspInitDonePpiGuid                   ## PRODUCES
74  gEfiEndOfPeiSignalPpiGuid             ## PRODUCES
75  gEfiTemporaryRamDonePpiGuid           ## PRODUCES
76  gEfiPeiMemoryDiscoveredPpiGuid        ## PRODUCES
77
78[FixedPcd]
79  gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported         ## CONSUMES
80
81[Pcd]
82  gFspWrapperTokenSpaceGuid.PcdPeiTemporaryRamStackSize       ## CONSUMES
83  gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase                 ## CONSUMES
84  gFspWrapperTokenSpaceGuid.PcdFlashFvSecondFspBase           ## CONSUMES
85  gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize                 ## CONSUMES
86  gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize               ## CONSUMES
87  gFspWrapperTokenSpaceGuid.PcdFspApiVersion                  ## CONSUMES
88
89[Depex]
90  gEfiPeiMasterBootModePpiGuid
91