Home | History | Annotate | Download | only in IntelFsp2Pkg
      1 ## @file

      2 # Provides driver and definitions to build fsp.

      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                  = IntelFsp2Pkg
     17   PLATFORM_GUID                  = 55CA3D18-831B-469A-A1C3-7AE719EB6A97
     18   PLATFORM_VERSION               = 0.1
     19   DSC_SPECIFICATION              = 0x00010005
     20   OUTPUT_DIRECTORY               = Build/IntelFsp2Pkg
     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   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
     36   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
     37   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
     38   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
     39   DebugDeviceLib|IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
     40 
     41   # FSP override

     42   DebugLib|IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
     43 
     44   # FSP specific lib

     45   CacheAsRamLib|IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
     46   CacheLib|IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
     47   FspCommonLib|IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
     48   FspPlatformLib|IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
     49   FspSwitchStackLib|IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
     50   FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
     51 
     52 [LibraryClasses.common.PEIM]
     53   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
     54   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
     55   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
     56   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
     57   ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
     58 
     59   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
     60 
     61 [Components]
     62   IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
     63   IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
     64   IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
     65   IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
     66   IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
     67   IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
     68   IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
     69   IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
     70 
     71   IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf
     72   IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
     73   IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf
     74   IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.inf
     75 
     76 [PcdsFixedAtBuild.common]
     77   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
     78   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
     79   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
     80 
     81 [BuildOptions]
     82   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
     83