From 103bd5e4bb14fda521f64525394b2e9232297dfd Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Fri, 29 May 2020 13:11:00 -0600 Subject: dptf: Introduce new paradigm for configuring DPTF parameters Currently, configuring and reviewing DPTF parameters is difficult because DPTF tables and methods are defined in static ASL files, and are littered with #ifdefs which both define parameters and influence behavior (e.g., whether a method is included or not). This patch train is an effort to bring DPTF support to our ACPI DSDT/SSDT generation framework. This first patch is very minimal, and includes only creation of the DPTF device (in the DSDT). BUG=b:143539650 TEST=compiles (later tests get more comprehensive). Change-Id: I14df9f422c911677aeea25552ac1822a9462c58a Signed-off-by: Tim Wawrzynczak Reviewed-on: https://review.coreboot.org/c/coreboot/+/41883 Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) --- src/drivers/intel/dptf/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/drivers/intel/dptf/Kconfig (limited to 'src/drivers/intel/dptf/Kconfig') diff --git a/src/drivers/intel/dptf/Kconfig b/src/drivers/intel/dptf/Kconfig new file mode 100644 index 0000000000..7db335ac1c --- /dev/null +++ b/src/drivers/intel/dptf/Kconfig @@ -0,0 +1,7 @@ +config DRIVERS_INTEL_DPTF + bool "Support runtime generation of Intel DPTF ACPI tables" + depends on HAVE_ACPI_TABLES + default n + help + When enabled, entries in the devicetree are used to generate + Intel DPTF Tables at runtime in the SSDT. -- cgit v1.2.3