mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-21 01:28:13 +02:00
Convert both EarlyFdtPL011SerialPortLib and PlatformPeiLib at the same time to clients of FdtSerialPortAddressLib (so that both "early" and "late" serial output continue going to a common serial port). If the device tree specifies just one serial port, this conversion makes no difference, but if there are multiple ports, the output is written to the port identified by /chosen "stdout-path". In this patch, DebugLib output is not separated yet from the UEFI console. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20231008153912.175941-5-lersek@redhat.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4577 [lersek@redhat.com: add TianoCore BZ reference]
41 lines
1.1 KiB
INI
41 lines
1.1 KiB
INI
#/** @file
|
|
#
|
|
# Component description file for EarlyFdtPL011SerialPortLib module
|
|
#
|
|
# Copyright (c) 2011-2015, ARM Ltd. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#**/
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = EarlyFdtPL011SerialPortLib
|
|
FILE_GUID = 0983616A-49BC-4732-B531-4AF98D2056F0
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = SerialPortLib|SEC PEI_CORE PEIM
|
|
|
|
[Sources.common]
|
|
EarlyFdtPL011SerialPortLib.c
|
|
|
|
[LibraryClasses]
|
|
PL011UartLib
|
|
PcdLib
|
|
FdtSerialPortAddressLib
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
|
|
|
[Pcd]
|
|
gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
|
|
|
|
[FixedPcd]
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity
|
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits
|
|
gArmPlatformTokenSpaceGuid.PL011UartClkInHz
|