1 | ## @file
|
---|
2 | # Coreboot Table Parse Library.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
---|
5 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 | #
|
---|
7 | ##
|
---|
8 |
|
---|
9 | [Defines]
|
---|
10 | INF_VERSION = 0x00010005
|
---|
11 | BASE_NAME = FdtParseLib
|
---|
12 | FILE_GUID = 8956F72D-9626-4959-98B7-1BD4A3EA687E
|
---|
13 | MODULE_TYPE = BASE
|
---|
14 | VERSION_STRING = 1.0
|
---|
15 | LIBRARY_CLASS = FdtParseLib
|
---|
16 |
|
---|
17 | #
|
---|
18 | # The following information is for reference only and not required by the build tools.
|
---|
19 | #
|
---|
20 | # VALID_ARCHITECTURES = IA32 X64 AARCH64
|
---|
21 | #
|
---|
22 |
|
---|
23 | [Sources]
|
---|
24 | FdtParserLib.c
|
---|
25 |
|
---|
26 | [Packages]
|
---|
27 | MdePkg/MdePkg.dec
|
---|
28 | MdeModulePkg/MdeModulePkg.dec
|
---|
29 | UefiPayloadPkg/UefiPayloadPkg.dec
|
---|
30 |
|
---|
31 | [LibraryClasses]
|
---|
32 | DebugLib
|
---|
33 | PcdLib
|
---|
34 | HobLib
|
---|
35 | FdtLib
|
---|
36 | CustomFdtNodeParserLib
|
---|
37 |
|
---|
38 | [Guids]
|
---|
39 | gUniversalPayloadDeviceTreeGuid
|
---|
40 | gEfiGraphicsInfoHobGuid
|
---|
41 | gEfiGraphicsDeviceInfoHobGuid
|
---|
42 | gUniversalPayloadAcpiTableGuid
|
---|
43 | gUniversalPayloadSerialPortInfoGuid
|
---|
44 | gUplPciSegmentInfoHobGuid
|
---|
45 |
|
---|
46 | [Pcd.IA32,Pcd.X64,Pcd.RISCV64,Pcd.AARCH64]
|
---|
47 | gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemSize
|
---|
48 | gUefiPayloadPkgTokenSpaceGuid.PcdSystemMemoryUefiRegionSize
|
---|
49 | gUefiPayloadPkgTokenSpaceGuid.PcdHandOffFdtEnable
|
---|
50 | gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemBase
|
---|
51 | gUefiPayloadPkgTokenSpaceGuid.PcdPciReservedPMemBase
|
---|
52 | gUefiPayloadPkgTokenSpaceGuid.PcdPciReservedPMemLimit
|
---|
53 | gUefiPayloadPkgTokenSpaceGuid.PcdPciReservedPMemAbove4GBBase
|
---|
54 | gUefiPayloadPkgTokenSpaceGuid.PcdPciReservedPMemAbove4GBLimit
|
---|
55 | gUefiPayloadPkgTokenSpaceGuid.SizeOfIoSpace
|
---|
56 |
|
---|
57 |
|
---|
58 | [BuildOptions]
|
---|
59 | MSFT:*_*_*_CC_FLAGS = /wd4305
|
---|
60 | GCC:*_*_IA32_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
61 | GCC:*_*_X64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
62 | GCC:*_*_ARM_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
63 | GCC:*_*_AARCH64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
64 | GCC:*_*_RISCV64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|
65 | GCC:*_*_LOONGARCH64_CC_FLAGS = -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast
|
---|