summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/acpi.c
diff options
context:
space:
mode:
authorShuo Liu <shuo.liu@intel.com>2024-06-25 18:50:06 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-06-26 18:07:30 +0000
commitf3aaa0e1539c16a3a26a769110ec1aca458ab410 (patch)
tree30a9a682a32c882eee4252fb44868c1b7a3565a5 /src/soc/intel/jasperlake/acpi.c
parent79d7f3a13ed59515bee0d043c3fda79854201858 (diff)
acpi: Rename acpi_create_dmar_drhd
For most of SoCs, DRHD is by default with the size of 4KB. However, larger sizes are allowed as well. Rename acpi_create_dmar_drhd to acpi_create_dmar_drhd_4k to support the default case while a later patch will re-add acpi_create_dmar_drhd with a size parameter. TEST=intel/archercity CRB Change-Id: Ic0a0618aa8e46d3fec2ceac7a91742122993df91 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83202 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/intel/jasperlake/acpi.c')
-rw-r--r--src/soc/intel/jasperlake/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/jasperlake/acpi.c b/src/soc/intel/jasperlake/acpi.c
index 6cf7ef5ee1..5e432a95de 100644
--- a/src/soc/intel/jasperlake/acpi.c
+++ b/src/soc/intel/jasperlake/acpi.c
@@ -173,7 +173,7 @@ static unsigned long soc_fill_dmar(unsigned long current)
if (is_devfn_enabled(SA_DEVFN_IGD) && gfxvtbar && gfxvten) {
unsigned long tmp = current;
- current += acpi_create_dmar_drhd(current, 0, 0, gfxvtbar);
+ current += acpi_create_dmar_drhd_4k(current, 0, 0, gfxvtbar);
current += acpi_create_dmar_ds_pci(current, 0, 2, 0);
acpi_dmar_drhd_fixup(tmp, current);
@@ -185,7 +185,7 @@ static unsigned long soc_fill_dmar(unsigned long current)
if (is_devfn_enabled(SA_DEVFN_IPU) && ipuvtbar && ipuvten) {
unsigned long tmp = current;
- current += acpi_create_dmar_drhd(current, 0, 0, ipuvtbar);
+ current += acpi_create_dmar_drhd_4k(current, 0, 0, ipuvtbar);
current += acpi_create_dmar_ds_pci(current, 0, 5, 0);
acpi_dmar_drhd_fixup(tmp, current);
@@ -197,7 +197,7 @@ static unsigned long soc_fill_dmar(unsigned long current)
if (vtvc0bar && vtvc0en) {
const unsigned long tmp = current;
- current += acpi_create_dmar_drhd(current,
+ current += acpi_create_dmar_drhd_4k(current,
DRHD_INCLUDE_PCI_ALL, 0, vtvc0bar);
current += acpi_create_dmar_ds_ioapic_from_hw(current,
IO_APIC_ADDR, V_P2SB_CFG_IBDF_BUS, V_P2SB_CFG_IBDF_DEV,