diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-01-28 12:22:52 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-03-12 15:41:35 +0000 |
commit | 18edd0008c1cfd7d0c61dcceb02cbfea03d464bf (patch) | |
tree | d8cf8145d36a486340148e408e31971e5bc25167 /src/mainboard/protectli | |
parent | d37cfb766942748782dd866ec986dc36538836a2 (diff) |
soc/intel/braswell: Factor out common `acpi_fill_madt`
Function is identical for all mainboards, so factor it out.
Change-Id: Ibe08fa7ae19bfc238d09158309f0a9fdb31ad21c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50028
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/protectli')
-rw-r--r-- | src/mainboard/protectli/vault_bsw/acpi_tables.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mainboard/protectli/vault_bsw/acpi_tables.c b/src/mainboard/protectli/vault_bsw/acpi_tables.c index 87a1c40fce..4206cde022 100644 --- a/src/mainboard/protectli/vault_bsw/acpi_tables.c +++ b/src/mainboard/protectli/vault_bsw/acpi_tables.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #include <acpi/acpi_gnvs.h> -#include <arch/ioapic.h> #include <soc/acpi.h> #include <soc/nvs.h> @@ -12,19 +11,6 @@ void mainboard_fill_gnvs(struct global_nvs *gnvs) gnvs->s3u1 = 1; } -unsigned long acpi_fill_madt(unsigned long current) -{ - /* Local APICs */ - current = acpi_create_madt_lapics(current); - - /* IOAPIC */ - current += acpi_create_madt_ioapic((acpi_madt_ioapic_t *) current, 2, IO_APIC_ADDR, 0); - - current = acpi_madt_irq_overrides(current); - - return current; -} - void mainboard_fill_fadt(acpi_fadt_t *fadt) { fadt->preferred_pm_profile = PM_MOBILE; |