aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns/systemagent.c
diff options
context:
space:
mode:
authorJulien Viard de Galbert <jviarddegalbert@online.net>2018-04-05 11:59:07 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-11-16 12:09:32 +0000
commita0e5046a08d991cafe34d9d91baf4dc82f4d86e8 (patch)
treeed6c9cc64ffdd1178c988cdc1724af7391a3e481 /src/soc/intel/denverton_ns/systemagent.c
parent81b88a1963ce44418c814c8107440429784d0f9c (diff)
soc/intel/denverton_ns: Generate ACPI DMAR Table
- Write ACPI DMAR Table if VT-d is enabled. - The entries are defined to follow FSP settings. Change-Id: I263b03b96280599266d4c5e193583ecdfe9697b7 Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/25446 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/denverton_ns/systemagent.c')
-rw-r--r--src/soc/intel/denverton_ns/systemagent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/denverton_ns/systemagent.c b/src/soc/intel/denverton_ns/systemagent.c
index daac3ebad4..114ee48d76 100644
--- a/src/soc/intel/denverton_ns/systemagent.c
+++ b/src/soc/intel/denverton_ns/systemagent.c
@@ -15,6 +15,7 @@
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/systemagent.h>
+#include <soc/acpi.h>
#define _1ms 1
#define WAITING_STEP 100
@@ -325,6 +326,9 @@ static struct device_operations systemagent_ops = {
.enable_resources = pci_dev_enable_resources,
.init = systemagent_init,
.ops_pci = &soc_pci_ops,
+#if CONFIG(HAVE_ACPI_TABLES)
+ .write_acpi_tables = systemagent_write_acpi_tables,
+#endif
};
/* IDs for System Agent device of Intel Denverton SoC */