summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2021-04-15 13:17:19 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-04-19 13:28:26 +0000
commita300f2a3f54c2ab1c9a74fc8fbf67f240c3a68ec (patch)
tree6e9f18f7b863440e50f12968e2f4902e1a5e67c1 /DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c
parentc8cf71ec9c2518a0e35983c03bb1f8e594593a49 (diff)
downloadedk2-a300f2a3f54c2ab1c9a74fc8fbf67f240c3a68ec.tar.gz
edk2-a300f2a3f54c2ab1c9a74fc8fbf67f240c3a68ec.tar.bz2
edk2-a300f2a3f54c2ab1c9a74fc8fbf67f240c3a68ec.zip
DynamicTablesPkg: Set the Access size for the SPCR table
The SPCR table generator set the access size for the UART to DWORD (4 bytes) by default. However, according to Section B Generic UART, Arm Base System Architecture 1.0, Platform Design Document, a Generic UART can have BYTE, WORD or DWORD access sizes. To address this an AccessSize field has been introduced in CM_ARM_SERIAL_PORT_INFO object. This patch updates the SPCR generator to setup the AccessSize field in the Generic Address Structure (GAS) for the UART in the SPCR table with information provided by the platform. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c')
0 files changed, 0 insertions, 0 deletions