1## @file 2# Platform Hook Library instance for UART device upon coreboot. 3# 4# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> 5# 6# This program and the accompanying materials 7# are licensed and made available under the terms and conditions of the BSD License 8# which accompanies this distribution. The full text of the license may be found at 9# http://opensource.org/licenses/bsd-license.php 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 INF_VERSION = 0x00010005 17 BASE_NAME = PlatformHookLib 18 FILE_GUID = 40A2CBC6-CFB8-447b-A90E-198E88FD345E 19 MODULE_TYPE = BASE 20 VERSION_STRING = 1.0 21 LIBRARY_CLASS = PlatformHookLib 22 CONSTRUCTOR = PlatformHookSerialPortInitialize 23 24[Sources] 25 PlatformHookLib.c 26 27[LibraryClasses] 28 CbParseLib 29 PcdLib 30 PciLib 31 32[Packages] 33 MdePkg/MdePkg.dec 34 MdeModulePkg/MdeModulePkg.dec 35 CorebootModulePkg/CorebootModulePkg.dec 36 37[Pcd] 38 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio ## PRODUCES 39 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase ## PRODUCES 40 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate ## PRODUCES 41 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride ## PRODUCES 42 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate ## PRODUCES 43 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate ## PRODUCES 44 gEfiMdeModulePkgTokenSpaceGuid.PcdPciSerialParameters ## PRODUCES 45