summaryrefslogtreecommitdiff
path: root/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-03-08 17:01:38 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-04-16 13:02:38 +0200
commit6d6591a29e52b1fcccea8bdd84c91a6ad4645f52 (patch)
tree4ba7fb7ae84c47d20d797263d9799a9093fbe6c2 /Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c
parent709435c64b47ae84a1f7e6d0b6bda4190bf6e90f (diff)
downloadedk2-platforms-6d6591a29e52b1fcccea8bdd84c91a6ad4645f52.tar.xz
Silicon/AMD/Styx: add PPTT ACPI table
Add a ACPI PPTT table describing the cache topology of the Seattle SoC. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c')
-rw-r--r--Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c
index 15b38bbf89..901eac1059 100644
--- a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c
+++ b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c
@@ -27,7 +27,7 @@
#include <Library/PcdLib.h>
#include <Library/UefiBootServicesTableLib.h>
-#define MAX_ACPI_TABLES 12
+#define MAX_ACPI_TABLES 16
EFI_ACPI_DESCRIPTION_HEADER *AcpiTableList[MAX_ACPI_TABLES];
@@ -69,6 +69,7 @@ AcpiPlatformEntryPoint (
if (PcdGetBool (PcdEnableSmmus)) {
AcpiTableList[TableIndex++] = IortHeader();
}
+ AcpiTableList[TableIndex++] = PpttHeader();
AcpiTableList[TableIndex++] = NULL;
DEBUG((DEBUG_INFO, "%a(): ACPI Table installer\n", __FUNCTION__));