diff options
author | Subrata Banik <subratabanik@google.com> | 2022-12-19 23:14:35 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-12-23 13:00:30 +0000 |
commit | e9ac9f97e84ea4ceec3f2468f3ca2b5f2c47fbf2 (patch) | |
tree | 64d8ebee4fb17259bb61c7f2411a3e03aba85c49 /src/soc/intel/tigerlake | |
parent | af20628a48d8a741a744dc0ecbfbc49524713eaf (diff) |
soc/intel: Drop SoC specific DPTF implementation
This patch drops the SoC specific implementation as DPTF driver can
now fillin those platform specific data using SoC specific macros.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: If65976f15374ba2410b537b1646ce466ba02969b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71112
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/soc/intel/tigerlake')
-rw-r--r-- | src/soc/intel/tigerlake/Makefile.inc | 1 | ||||
-rw-r--r-- | src/soc/intel/tigerlake/dptf.c | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/soc/intel/tigerlake/Makefile.inc b/src/soc/intel/tigerlake/Makefile.inc index 5a00699a90..e8cd7b32b8 100644 --- a/src/soc/intel/tigerlake/Makefile.inc +++ b/src/soc/intel/tigerlake/Makefile.inc @@ -25,7 +25,6 @@ romstage-y += reset.c ramstage-y += acpi.c ramstage-y += chip.c ramstage-y += cpu.c -ramstage-y += dptf.c ramstage-y += elog.c ramstage-y += espi.c ramstage-y += finalize.c diff --git a/src/soc/intel/tigerlake/dptf.c b/src/soc/intel/tigerlake/dptf.c deleted file mode 100644 index ad3b7175e8..0000000000 --- a/src/soc/intel/tigerlake/dptf.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <drivers/intel/dptf/dptf.h> -#include <soc/dptf.h> -#include <stdbool.h> - -static const struct dptf_platform_info tgl_dptf_platform_info = { - .use_eisa_hids = CONFIG(DPTF_USE_EISA_HID), - /* _HID for the toplevel DPTF device, typically \_SB.DPTF */ - .dptf_device_hid = DPTF_DPTF_DEVICE, - /* _HID for Intel DPTF Generic Device (these require PTYP as well) */ - .generic_hid = DPTF_GEN_DEVICE, - /* _HID for Intel DPTF Fan Device */ - .fan_hid = DPTF_FAN_DEVICE, -}; - -const struct dptf_platform_info *soc_get_dptf_platform_info(void) -{ - return &tgl_dptf_platform_info; -} |