]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/IntelFsp2Pkg.dsc
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / IntelFsp2Pkg / IntelFsp2Pkg.dsc
1 ## @file
2 # Provides driver and definitions to build fsp.
3 #
4 # Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 ##
8
9 [Defines]
10 PLATFORM_NAME = IntelFsp2Pkg
11 PLATFORM_GUID = 55CA3D18-831B-469A-A1C3-7AE719EB6A97
12 PLATFORM_VERSION = 0.1
13 DSC_SPECIFICATION = 0x00010005
14 OUTPUT_DIRECTORY = Build/IntelFsp2Pkg
15 SUPPORTED_ARCHITECTURES = IA32|X64
16 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
17 SKUID_IDENTIFIER = DEFAULT
18
19 !include MdePkg/MdeLibs.dsc.inc
20
21 [LibraryClasses]
22 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
23 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
24 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
25 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
26 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
27 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
28 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
29 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
30 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
31
32 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
33 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
34 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
35 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
36 DebugDeviceLib|IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
37
38 # FSP override
39 DebugLib|IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
40
41 # FSP specific lib
42 CacheAsRamLib|IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
43 CacheLib|IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
44 FspCommonLib|IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
45 FspPlatformLib|IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
46 FspSwitchStackLib|IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
47 FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
48 FspMultiPhaseLib|IntelFsp2Pkg/Library/BaseFspMultiPhaseLib/BaseFspMultiPhaseLib.inf
49
50 [LibraryClasses.common.PEIM]
51 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
52 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
53 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
54 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
55 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
56
57 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
58
59 [Components]
60 IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
61 IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
62 IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
63 IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
64 IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
65 IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
66 IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
67 IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
68 IntelFsp2Pkg/Library/BaseFspMultiPhaseLib/BaseFspMultiPhaseLib.inf
69
70 IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf
71 IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
72 IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf
73 IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf
74 IntelFsp2Pkg/FspSecCore/FspSecCoreI.inf
75 IntelFsp2Pkg/FspSecCore/Fsp22SecCoreS.inf
76 IntelFsp2Pkg/FspSecCore/Fsp24SecCoreS.inf
77 IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.inf
78
79 [PcdsFixedAtBuild.common]
80 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
81 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
82 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
83
84 [BuildOptions]
85 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES