• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2# Provides driver and definitions to build fsp in EDKII bios.
3#
4# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
5# This program and the accompanying materials are licensed and made available under
6# the terms and conditions of the BSD License that accompanies this distribution.
7# The full text of the license may be found at
8# http://opensource.org/licenses/bsd-license.php.
9#
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13##
14
15[Defines]
16  PLATFORM_NAME                  = IntelFspPkg
17  PLATFORM_GUID                  = 29C6791F-9EBC-4470-A126-2BB47431AE5E
18  PLATFORM_VERSION               = 0.1
19  DSC_SPECIFICATION              = 0x00010005
20  OUTPUT_DIRECTORY               = Build/IntelFspPkg
21  SUPPORTED_ARCHITECTURES        = IA32
22  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
23  SKUID_IDENTIFIER               = DEFAULT
24
25[LibraryClasses]
26  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
27  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
28  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
29  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
30  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
31  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
32  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
33  UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
34
35  # Dummy - test build only
36  SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
37  ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
38  DebugDeviceLib|IntelFspPkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
39
40  # FSP override
41  DebugLib|IntelFspPkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
42
43  # FSP specific lib
44  CacheAsRamLib|IntelFspPkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
45  CacheLib|IntelFspPkg/Library/BaseCacheLib/BaseCacheLib.inf
46  FspCommonLib|IntelFspPkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
47  FspPlatformLib|IntelFspPkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
48  FspSwitchStackLib|IntelFspPkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
49  FspSecPlatformLib|IntelFspPkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
50
51[LibraryClasses.common.PEIM]
52  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
53  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
54  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
55  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
56  ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
57
58  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
59
60[Components]
61  IntelFspPkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
62  IntelFspPkg/Library/BaseCacheLib/BaseCacheLib.inf
63  IntelFspPkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
64  IntelFspPkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
65  IntelFspPkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
66  IntelFspPkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
67
68  IntelFspPkg/FspSecCore/FspSecCore.inf
69  IntelFspPkg/FspDxeIpl/FspDxeIpl.inf
70
71[PcdsFixedAtBuild.common]
72  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
73  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
74  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
75
76[BuildOptions]
77  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
78