summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg
diff options
context:
space:
mode:
authorPierre Gondois <Pierre.Gondois@arm.com>2021-04-07 15:43:39 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-07-18 16:55:37 +0000
commit792ebb6374f2b92e2c4b84f5b8d151a129ed81cc (patch)
tree909f330d14c5cbe228fd2691aca38a789f7b0e73 /DynamicTablesPkg
parentfc4a132c0e9d108d30115cb8729f8fcd5564b855 (diff)
downloadedk2-792ebb6374f2b92e2c4b84f5b8d151a129ed81cc.tar.gz
edk2-792ebb6374f2b92e2c4b84f5b8d151a129ed81cc.tar.bz2
edk2-792ebb6374f2b92e2c4b84f5b8d151a129ed81cc.zip
DynamicTablesPkg: Fix generated _HID value for SBSA
SSDT tables describing an SBSA compatible serial port receive an '_HID' value of 'ARMH0011'. This value represents a PL011 serial port. This patch: - Generates an 'ARMHB000' instead - References the 'ACPI for Arm Components 1.0 - 2020' document specifying the '_HID' values to use. Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r--DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c b/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c
index 389c9eb914..a65c1fe7e3 100644
--- a/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c
+++ b/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c
@@ -8,6 +8,7 @@
@par Reference(s):
- Arm Server Base Boot Requirements (SBBR), s4.2.1.8 "SPCR".
- Microsoft Debug Port Table 2 (DBG2) Specification - December 10, 2015.
+ - ACPI for Arm Components 1.0 - 2020
**/
#include <IndustryStandard/DebugPort2Table.h>
@@ -176,7 +177,7 @@ FixupIds (
case EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART:
case EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART_2X:
{
- HidString = "ARMH0011";
+ HidString = "ARMHB000";
CidString = "";
break;
}