From a268aac9e5b79dcd96ab3411413f4385bfecfe5e Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 30 Apr 2020 14:30:31 -0700 Subject: src/acpi: Drop Kconfig option ACPI_SATA_GENERATOR ACPI_SATA_GENERATOR is currently used to include sata.c in ramstage. However, there is no need to guard this inclusion using a separate Kconfig. All other files that deal with ACPI tables are included based on the state of HAVE_ACPI_TABLES. This change includes sata.c in ramstage if HAVE_ACPI_TABLES is selected. If the ACPI function isn't used, linker will optimize it out. BUG=b:155428745 Change-Id: I9a319cfe7c3f973b15ccbd0f13bd1ed07571a398 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/40928 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Duncan Laurie Reviewed-by: Aaron Durbin --- src/acpi/Kconfig | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/acpi/Kconfig') diff --git a/src/acpi/Kconfig b/src/acpi/Kconfig index 3c6aeb1a18..8c8bb87884 100644 --- a/src/acpi/Kconfig +++ b/src/acpi/Kconfig @@ -1,12 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only # This file is part of the coreboot project. -config ACPI_SATA_GENERATOR - bool - default n - help - Use ACPI SATA port generator. - config ACPI_INTEL_HARDWARE_SLEEP_VALUES def_bool n help -- cgit v1.2.3