summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-03-01 19:11:29 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-02 18:26:19 +0000
commit89d6764fd58e407fe5eb59c76dc286ac04f0645b (patch)
tree4252f80e37ab7a12ec145686c2cb0e760cadc0a9 /src
parent257e2507faa797b0fdcd2ae4641a1a20e37db4b3 (diff)
downloadcoreboot-89d6764fd58e407fe5eb59c76dc286ac04f0645b.tar.gz
coreboot-89d6764fd58e407fe5eb59c76dc286ac04f0645b.tar.bz2
coreboot-89d6764fd58e407fe5eb59c76dc286ac04f0645b.zip
acpi/acpi: drop weak cpu_get_lapic_addr implementation
All SoCs/chipsets that select ARCH_X86 will end up using the implementation in cpu/x86/lapic/lapic.c, so to avoid confusion, drop the unused weak implementation that returns a different value. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iffcd8c80260f9a7d81dda41a0ad08bffc7620c33 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62502 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/acpi/acpi.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c
index 4e2b8dfcd9aa..f7545b2e3713 100644
--- a/src/acpi/acpi.c
+++ b/src/acpi/acpi.c
@@ -224,15 +224,6 @@ int acpi_create_madt_lx2apic_nmi(acpi_madt_lx2apic_nmi_t *lapic_nmi, u32 cpu,
return lapic_nmi->length;
}
-__weak uintptr_t cpu_get_lapic_addr(void)
-{
- /*
- * If an architecture does not support LAPIC, this weak implementation returns LAPIC
- * addr as 0.
- */
- return 0;
-}
-
void acpi_create_madt(acpi_madt_t *madt)
{
acpi_header_t *header = &(madt->header);