The library already supports UEFI_DRIVER, we just need to relax the restriction list. This allows ArmVirtualizationPkg platforms to build applications, like the UEFI shell. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16219 6f19259b-4bc3-4df7-8a09-765794883524
49 lines
1.6 KiB
INI
49 lines
1.6 KiB
INI
#/** @file
|
|
#
|
|
# Component description file for PL011SerialPortLib module
|
|
#
|
|
# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR>
|
|
#
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
#
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
#**/
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = FdtPL011SerialPortLib
|
|
FILE_GUID = CB768406-7DE6-49B6-BC2C-F324E110DE5A
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = SerialPortLib|DXE_CORE DXE_DRIVER UEFI_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
|
|
CONSTRUCTOR = FdtPL011SerialPortLibInitialize
|
|
|
|
[Sources.common]
|
|
FdtPL011SerialPortLib.c
|
|
|
|
[LibraryClasses]
|
|
PL011UartLib
|
|
HobLib
|
|
|
|
[Packages]
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
ArmPlatformPkg/ArmVirtualizationPkg/ArmVirtualizationPkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
|
|
[FixedPcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits
|
|
|
|
[Guids]
|
|
gEarlyPL011BaseAddressGuid
|