summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/pineview
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-14 15:09:45 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-10-18 14:20:28 +0000
commitb54388df63f1a42b623e01ec03476712b4a08710 (patch)
tree7e11996c134b0f89b094958d49bdb2501938cc3b /src/northbridge/intel/pineview
parent9ae922abf728814e10781a71f35803bd53d57524 (diff)
ACPI: Have common acpi_fill_mcfg()
As long as there is only one PCI segment we do not need more complicated MCFG generation. Change-Id: Ic2a8e84383883039bb7f994227e2e425366f9e13 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50666 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/northbridge/intel/pineview')
-rw-r--r--src/northbridge/intel/pineview/Makefile.inc1
-rw-r--r--src/northbridge/intel/pineview/acpi.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/src/northbridge/intel/pineview/Makefile.inc b/src/northbridge/intel/pineview/Makefile.inc
index 08e04f20e2..b231a3e171 100644
--- a/src/northbridge/intel/pineview/Makefile.inc
+++ b/src/northbridge/intel/pineview/Makefile.inc
@@ -8,7 +8,6 @@ bootblock-y += bootblock.c
ramstage-y += memmap.c
ramstage-y += northbridge.c
ramstage-y += gma.c
-ramstage-y += acpi.c
romstage-y += romstage.c
romstage-y += memmap.c
diff --git a/src/northbridge/intel/pineview/acpi.c b/src/northbridge/intel/pineview/acpi.c
deleted file mode 100644
index a04cb0b45a..0000000000
--- a/src/northbridge/intel/pineview/acpi.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <acpi/acpigen.h>
-#include <acpi/acpi.h>
-#include <device/device.h>
-
-unsigned long acpi_fill_mcfg(unsigned long current)
-{
- current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
- CONFIG_MMCONF_BASE_ADDRESS, 0, 0, CONFIG_MMCONF_BUS_NUMBER - 1);
-
- return current;
-}