diff options
author | Werner Zeh <werner.zeh@siemens.com> | 2018-12-14 13:09:12 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-28 13:42:08 +0000 |
commit | d12530cb838c4fa2d503d27c9ea19e8ffb515725 (patch) | |
tree | 67a52e3d19334a5349fd846a262683dc687ff13c /src/soc/intel/common/block/include/intelblocks/acpi.h | |
parent | 251514d986ea9b978f4608d1994ca3307f1b51aa (diff) | |
download | coreboot-d12530cb838c4fa2d503d27c9ea19e8ffb515725.tar.xz |
intelblocks/systemagent: Add ACPI table generation hook
In preparation of generating DMAR tables, provide the hook in SoC scope
for the systemagent to write ACPI tables. The complete functionality is
SoC-specific. Therefore the entry hook is defined as a weak function which
can be overridden by SoC code. If the SoC does not have support for
generating DMAR tables this hook will do no harm.
Change-Id: I1333ae2b79f1a855e6f3bb39bf534da170ddc9e1
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/30989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks/acpi.h')
-rw-r--r-- | src/soc/intel/common/block/include/intelblocks/acpi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/acpi.h b/src/soc/intel/common/block/include/intelblocks/acpi.h index 029174f1ff..e615ccd213 100644 --- a/src/soc/intel/common/block/include/intelblocks/acpi.h +++ b/src/soc/intel/common/block/include/intelblocks/acpi.h @@ -81,6 +81,11 @@ uint32_t acpi_fill_soc_wake(uint32_t generic_pm1_en, /* Chipset specific settings for filling up fadt table */ void soc_fill_fadt(acpi_fadt_t *fadt); +/* Chipset specific settings for filling up dmar table */ +unsigned long sa_write_acpi_tables(struct device *dev, + unsigned long current, + struct acpi_rsdp *rsdp); + /* Return the polarity flag for SCI IRQ */ int soc_madt_sci_irq_polarity(int sci); |