DynamicTablesPkg: Add SSDT Serial port for DBG2

The SSDT Serial port fixup library provides
interfaces to generate a SSDT Serial port table
based on the serial port information.

Update the DBG2 Generator to use the SSDT serial
port fixup library to build a serial port definition
block for the DBG2 serial port and install the
SSDT table.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
This commit is contained in:
Pierre Gondois
2020-08-06 12:11:20 +01:00
committed by mergify[bot]
parent c76028a6ff
commit 313d2ec991
2 changed files with 163 additions and 68 deletions

View File

@@ -1,7 +1,7 @@
## @file
# DBG2 Table Generator
#
# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
# Copyright (c) 2017 - 2020, Arm Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
@@ -29,6 +29,7 @@
[LibraryClasses]
BaseLib
PL011UartLib
SsdtSerialPortFixupLib
[FixedPcd]
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate