summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/dptf/dptf.h6
-rw-r--r--src/soc/intel/alderlake/Makefile.inc1
-rw-r--r--src/soc/intel/alderlake/dptf.c35
-rw-r--r--src/soc/intel/apollolake/Makefile.inc1
-rw-r--r--src/soc/intel/apollolake/dptf.c19
-rw-r--r--src/soc/intel/cannonlake/Makefile.inc1
-rw-r--r--src/soc/intel/cannonlake/dptf.c19
-rw-r--r--src/soc/intel/jasperlake/Makefile.inc1
-rw-r--r--src/soc/intel/jasperlake/dptf.c19
-rw-r--r--src/soc/intel/tigerlake/Makefile.inc1
-rw-r--r--src/soc/intel/tigerlake/dptf.c20
11 files changed, 0 insertions, 123 deletions
diff --git a/src/drivers/intel/dptf/dptf.h b/src/drivers/intel/dptf/dptf.h
index bf383084b0..676d11455a 100644
--- a/src/drivers/intel/dptf/dptf.h
+++ b/src/drivers/intel/dptf/dptf.h
@@ -28,10 +28,4 @@ struct dptf_platform_info {
} tpch_method_names;
};
-/*
- * `soc_get_dptf_platform_info()` is a callback into the SoC directory
- * to fill in the `struct dptf_platform_info` data structure.
- */
-const struct dptf_platform_info *soc_get_dptf_platform_info(void);
-
#endif /* _DRIVERS_INTEL_DPTF_H_ */
diff --git a/src/soc/intel/alderlake/Makefile.inc b/src/soc/intel/alderlake/Makefile.inc
index 7f808ffa6e..415c2b1a56 100644
--- a/src/soc/intel/alderlake/Makefile.inc
+++ b/src/soc/intel/alderlake/Makefile.inc
@@ -27,7 +27,6 @@ romstage-y += cpu.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/alderlake/dptf.c b/src/soc/intel/alderlake/dptf.c
deleted file mode 100644
index 00f2e5ca80..0000000000
--- a/src/soc/intel/alderlake/dptf.c
+++ /dev/null
@@ -1,35 +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 adl_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,
- /* _HID for the toplevel TPCH device, typically \_SB.TPCH */
- .tpch_device_hid = DPTF_TPCH_DEVICE,
- /* _HID for the toplevel TPWR device, typically \_SB.DPTF.TPWR */
- .tpwr_device_hid = DPTF_TPWR_DEVICE,
- /* _HID for the toplevel BAT1 device, typically \_SB.DPTF.BAT1 */
- .tbat_device_hid = DPTF_BAT1_DEVICE,
-
- .tpch_method_names = {
- .set_fivr_low_clock_method = "RFC0",
- .set_fivr_high_clock_method = "RFC1",
- .get_fivr_low_clock_method = "GFC0",
- .get_fivr_high_clock_method = "GFC1",
- .get_fivr_ssc_method = "GEMI",
- .get_fivr_switching_fault_status = "GFFS",
- .get_fivr_switching_freq_mhz = "GFCS",
- },
-};
-
-const struct dptf_platform_info *soc_get_dptf_platform_info(void)
-{
- return &adl_dptf_platform_info;
-}
diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc
index 00adb9cb50..107a913932 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 ba6cd59440..0000000000
--- 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;
-}
diff --git a/src/soc/intel/cannonlake/Makefile.inc b/src/soc/intel/cannonlake/Makefile.inc
index 4bd6a00e0a..5c02252366 100644
--- a/src/soc/intel/cannonlake/Makefile.inc
+++ b/src/soc/intel/cannonlake/Makefile.inc
@@ -29,7 +29,6 @@ romstage-y += uart.c
ramstage-y += acpi.c
ramstage-y += chip.c
ramstage-y += cpu.c
-ramstage-y += dptf.c
ramstage-y += elog.c
ramstage-y += finalize.c
ramstage-y += fsp_params.c
diff --git a/src/soc/intel/cannonlake/dptf.c b/src/soc/intel/cannonlake/dptf.c
deleted file mode 100644
index 2ddcc9e2c4..0000000000
--- a/src/soc/intel/cannonlake/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 cnl_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 &cnl_dptf_platform_info;
-}
diff --git a/src/soc/intel/jasperlake/Makefile.inc b/src/soc/intel/jasperlake/Makefile.inc
index 44fbdf341d..44d09080ea 100644
--- a/src/soc/intel/jasperlake/Makefile.inc
+++ b/src/soc/intel/jasperlake/Makefile.inc
@@ -27,7 +27,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/jasperlake/dptf.c b/src/soc/intel/jasperlake/dptf.c
deleted file mode 100644
index 5656fd7509..0000000000
--- a/src/soc/intel/jasperlake/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 jsl_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 &jsl_dptf_platform_info;
-}
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;
-}