aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/acpi/acpi.c
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-12-02 14:35:27 -0700
committerMarc Jones <marc@marcjonesconsulting.com>2020-12-11 15:57:44 +0000
commit1403b917ac68e0e462716d3fd48d5ce44529ee06 (patch)
tree87a04b1cf38074751a98261887c7c1a755928ce2 /src/soc/intel/common/block/acpi/acpi.c
parent79b2a150c7a18a61604b0d81f52a7c6ad8522b60 (diff)
soc/intel/common/block/lpc: Move southbridge_write_acpi_tables declaration
Move the southbridge_write_acpi_tables declaration from acpi.h to common lpc_lib.h, as common LPC is always the caller. This removes a duplicate declaration since all soc/intel devices use common LPC, but not all use common ACPI. The southbridge_write_acpi_tables function is defined in acpi.c with the other acpi functions. Note that this would have the reverse problem if there is ever a non-common LPC device. Change-Id: I0590a028b11f34e423d8f0007e0653037b0849a0 Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48251 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/acpi/acpi.c')
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index 4efeb880dc..2948faf9b9 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -13,6 +13,7 @@
#include <cpu/intel/common/common.h>
#include <cpu/x86/smm.h>
#include <intelblocks/acpi.h>
+#include <intelblocks/lpc_lib.h>
#include <intelblocks/msr.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/uart.h>