1## @file
2# Option Rom Package build validation file for All Architectures.
3#
4# This package is designed to interoperate with the EDK II open source project
5# at http://www.tianocore.org, and this package is required to build PCI compliant
6# Option ROM image for all CPU architectures, including EBC target.
7# A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.
8#
9# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
10# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
11#
12# This program and the accompanying materials
13# are licensed and made available under the terms and conditions of the BSD License
14# which accompanies this distribution. The full text of the license may be found at
15# http://opensource.org/licenses/bsd-license.php
16#
17# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19#
20##
21
22################################################################################
23#
24# Defines Section - statements that will be processed to create a Makefile.
25#
26################################################################################
27[Defines]
28  PLATFORM_NAME                  = OptionRomPkg
29  PLATFORM_GUID                  = C7B25F37-B1F4-4c46-99CB-3EA7DCF5FCDC
30  PLATFORM_VERSION               = 0.1
31  DSC_SPECIFICATION              = 0x00010005
32  OUTPUT_DIRECTORY               = Build/OptionRomPkg
33  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM|AARCH64
34  BUILD_TARGETS                  = DEBUG|RELEASE
35  SKUID_IDENTIFIER               = DEFAULT
36
37################################################################################
38#
39# SKU Identification section - list of all SKU IDs supported by this
40#                              Platform.
41#
42################################################################################
43[SkuIds]
44  0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.
45
46[LibraryClasses]
47  DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf
48  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
49  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
50  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
51  BltLib|OptionRomPkg/Library/GopBltLib/GopBltLib.inf
52  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
53  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
54  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
55  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
56  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
57  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
58  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
59  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
60  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
61  UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
62  UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
63
64[LibraryClasses.AARCH64, LibraryClasses.ARM]
65  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
66
67[LibraryClasses.ARM]
68  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
69
70################################################################################
71#
72# Pcd Section - list of all EDK II PCD Entries defined by this Platform
73#
74################################################################################
75[PcdsFeatureFlag]
76  gOptionRomPkgTokenSpaceGuid.PcdSupportScsiPassThru|TRUE
77  gOptionRomPkgTokenSpaceGuid.PcdSupportExtScsiPassThru|TRUE
78
79[PcdsFixedAtBuild]
80  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
81  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
82  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0x0
83  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|0x0
84  gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|0x0
85  gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0x0
86  gOptionRomPkgTokenSpaceGuid.PcdDriverSupportedEfiVersion|0x0002000a # EFI_2_10_SYSTEM_TABLE_REVISION
87
88###################################################################################################
89#
90# Components Section - list of the modules and components that will be processed by compilation
91#                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.
92#
93# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
94#       into firmware volume images. This section is just a list of modules to compile from
95#       source into UEFI-compliant binaries.
96#       It is the FDF file that contains information on combining binary files into firmware
97#       volume images, whose concept is beyond UEFI and is described in PI specification.
98#       Binary modules do not need to be listed in this section, as they should be
99#       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
100#       Logo (Logo.bmp), and etc.
101#       There may also be modules listed in this section that are not required in the FDF file,
102#       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
103#       generated for it, but the binary will not be put into any firmware volume.
104#
105###################################################################################################
106
107[Components]
108  OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
109  OptionRomPkg/Library/GopBltLib/GopBltLib.inf
110
111  OptionRomPkg/AtapiPassThruDxe/AtapiPassThruDxe.inf
112  OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf
113  OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf
114  OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDxe.inf
115  OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.inf
116  OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf
117
118[Components.IA32, Components.X64, Components.IPF]
119  OptionRomPkg/Application/BltLibSample/BltLibSample.inf
120