diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-05-31 01:58:41 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-10 12:53:08 +0000 |
commit | cfc3c358b2686bebd936219c5fb3642b834780b2 (patch) | |
tree | 7ab5f27b7ce3d00c89b481c9fc9671b52bcc3901 /src/acpi | |
parent | 45ecd49eea7e8ee3463961ba555faf127d899a51 (diff) | |
download | coreboot-cfc3c358b2686bebd936219c5fb3642b834780b2.tar.xz |
ACPI: Remove Kconfig COMMON_FADT
Also remove default mb/*/fadt.c from Makefiles.
Change-Id: I6a2839c524f8311ec9a382a84066afc7d579eaca
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41948
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi')
-rw-r--r-- | src/acpi/Makefile.inc | 5 | ||||
-rw-r--r-- | src/acpi/acpi.c | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/acpi/Makefile.inc b/src/acpi/Makefile.inc index ffffb860c6..7e37e1a871 100644 --- a/src/acpi/Makefile.inc +++ b/src/acpi/Makefile.inc @@ -16,8 +16,5 @@ ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/acpi_tables.c),) ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/acpi_tables.c endif $(eval $(call asl_template,dsdt)) -ifneq ($(wildcard src/mainboard/$(MAINBOARDDIR)/fadt.c),) -ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/fadt.c -endif -endif # CONFIG_GENERATE_ACPI_TABLES +endif # CONFIG_HAVE_ACPI_TABLES diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index a69cdb6219..47f03c8973 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1219,8 +1219,6 @@ void acpi_write_bert(acpi_bert_t *bert, uintptr_t region, size_t length) header->checksum = acpi_checksum((void *)bert, header->length); } -#if CONFIG(COMMON_FADT) - __weak void soc_fill_fadt(acpi_fadt_t *fadt) { } __weak void mainboard_fill_fadt(acpi_fadt_t *fadt) { } @@ -1269,7 +1267,6 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) header->checksum = acpi_checksum((void *) fadt, header->length); } -#endif unsigned long __weak fw_cfg_acpi_tables(unsigned long start) { |