UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader
[mirror_edk2.git] / UefiPayloadPkg / Library / PlatformHookLib / PlatformHookLib.inf
1 ## @file
2 # Platform Hook Library instance for UART device.
3 #
4 # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 ##
9
10 [Defines]
11 INF_VERSION = 0x00010005
12 BASE_NAME = PlatformHookLib
13 FILE_GUID = 40A2CBC6-CFB8-447b-A90E-198E88FD345E
14 MODULE_TYPE = BASE
15 VERSION_STRING = 1.0
16 LIBRARY_CLASS = PlatformHookLib
17 CONSTRUCTOR = PlatformHookSerialPortInitialize
18
19 [Sources]
20 PlatformHookLib.c
21
22 [LibraryClasses]
23 BlParseLib
24 PcdLib
25 PciLib
26
27 [Packages]
28 MdePkg/MdePkg.dec
29 MdeModulePkg/MdeModulePkg.dec
30 UefiPayloadPkg/UefiPayloadPkg.dec
31
32 [Pcd]
33 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio ## PRODUCES
34 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase ## PRODUCES
35 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate ## PRODUCES
36 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride ## PRODUCES
37 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate ## PRODUCES
38 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate ## PRODUCES
39 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters ## PRODUCES