summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-12-19 18:19:00 +0530
committerSubrata Banik <subratabanik@google.com>2022-12-22 08:06:21 +0000
commitdd4acf643fd810c120f1bfccf161c3e58033dfe7 (patch)
treeca7f94acf49ea8626a0a25a05bd9b0612f10a7c8 /src/drivers
parentfbdccebb66e0684dd460f62d47130ad1e506d1bc (diff)
drivers/intel/dptf: Add new config for EISA HID support
This patch adds config to let SoC users (config) to choose if EISA HID is supported. All SoC config would like to support EISA HID need to select `HAVE_DPTF_EISA_HID` config. Prior to Tiger Lake, all DPTF devices used 7-character EISA IDs. If selected, the 7-character _HIDs will be emitted, otherwise, it will use the "new" style, which are regular 8-character _HIDs. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I6bf64f74c447b28665d31a64181c33df882d5d06 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71108 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/dptf/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/drivers/intel/dptf/Kconfig b/src/drivers/intel/dptf/Kconfig
index c0e62b7175..bdda9e8a34 100644
--- a/src/drivers/intel/dptf/Kconfig
+++ b/src/drivers/intel/dptf/Kconfig
@@ -6,6 +6,20 @@ config DRIVERS_INTEL_DPTF
When enabled, entries in the devicetree are used to generate
Intel DPTF Tables at runtime in the SSDT.
+config HAVE_DPTF_EISA_HID
+ bool
+
+config DPTF_USE_EISA_HID
+ bool
+ depends on DRIVERS_INTEL_DPTF
+ default y if HAVE_DPTF_EISA_HID
+ default n
+ help
+ Prior to Tiger Lake, all DPTF devices used 7-character EISA
+ IDs. If selected, the 7-character _HIDs will be emitted,
+ otherwise, it will use the "new" style, which are regular
+ 8-character _HIDs.
+
config DRIVERS_INTEL_DPTF_SUPPORTS_TPCH
def_bool n
depends on HAVE_ACPI_TABLES && PMC_IPC_ACPI_INTERFACE