summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-12-19 23:14:35 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-12-23 13:00:30 +0000
commite9ac9f97e84ea4ceec3f2468f3ca2b5f2c47fbf2 (patch)
tree64d8ebee4fb17259bb61c7f2411a3e03aba85c49 /src/soc/intel/apollolake
parentaf20628a48d8a741a744dc0ecbfbc49524713eaf (diff)
downloadcoreboot-e9ac9f97e84ea4ceec3f2468f3ca2b5f2c47fbf2.tar.gz
coreboot-e9ac9f97e84ea4ceec3f2468f3ca2b5f2c47fbf2.tar.bz2
coreboot-e9ac9f97e84ea4ceec3f2468f3ca2b5f2c47fbf2.zip
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/apollolake')
-rw-r--r--src/soc/intel/apollolake/Makefile.inc1
-rw-r--r--src/soc/intel/apollolake/dptf.c19
2 files changed, 0 insertions, 20 deletions
diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc
index 00adb9cb504c..107a91393236 100644
--- a/src/soc/intel/apollolake/Makefile.inc
+++ b/src/soc/intel/apollolake/Makefile.inc
@@ -49,7 +49,6 @@ ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
ramstage-y += cpu.c
ramstage-y += chip.c
ramstage-y += cse.c
-ramstage-y += dptf.c
ramstage-y += elog.c
ramstage-y += graphics.c
ramstage-y += gspi.c
diff --git a/src/soc/intel/apollolake/dptf.c b/src/soc/intel/apollolake/dptf.c
deleted file mode 100644
index ba6cd5944012..000000000000
--- a/src/soc/intel/apollolake/dptf.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <drivers/intel/dptf/dptf.h>
-#include <soc/dptf.h>
-
-static const struct dptf_platform_info apl_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 &apl_dptf_platform_info;
-}