aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/cpx
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-10-19 15:52:52 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-22 21:34:29 +0000
commit8066fda9ed53da095b17188e3b96265810534985 (patch)
treea627722ecce0798cb92cf4652814631aa823cccb /src/soc/intel/xeon_sp/cpx
parent8972750b266f97975949821f1075a1104dd2f915 (diff)
soc/intel/xeon_sp: Move ACPI prototypes from chip.h
Prepare for common ACPI. Move the soc ACPI function prototypes from cpx and skx chip.h to include/soc/acpi.h. Change-Id: Ib7037cfb58825a2f6c25c122b95f72d5992dc04e Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46595 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx')
-rw-r--r--src/soc/intel/xeon_sp/cpx/acpi.c2
-rw-r--r--src/soc/intel/xeon_sp/cpx/chip.h6
-rw-r--r--src/soc/intel/xeon_sp/cpx/soc_acpi.c2
3 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/acpi.c b/src/soc/intel/xeon_sp/cpx/acpi.c
index 8d3e86a10b..658c951648 100644
--- a/src/soc/intel/xeon_sp/cpx/acpi.c
+++ b/src/soc/intel/xeon_sp/cpx/acpi.c
@@ -23,8 +23,6 @@
#include <soc/pm.h>
#include <soc/soc_util.h>
-#include "chip.h"
-
static int acpi_sci_irq(void)
{
int sci_irq = 9;
diff --git a/src/soc/intel/xeon_sp/cpx/chip.h b/src/soc/intel/xeon_sp/cpx/chip.h
index e7c146c291..434b343bb2 100644
--- a/src/soc/intel/xeon_sp/cpx/chip.h
+++ b/src/soc/intel/xeon_sp/cpx/chip.h
@@ -99,10 +99,4 @@ struct soc_intel_xeon_sp_cpx_config {
typedef struct soc_intel_xeon_sp_cpx_config config_t;
-/* soc acpi function prototypes. To be removed when acpi.c is replaced by common/acpi.c */
-void cpx_generate_p_state_entries(int core, int cores_per_package);
-int calculate_power(int tdp, int p1_ratio, int ratio);
-void uncore_inject_dsdt(void);
-unsigned long xeonsp_acpi_create_madt_lapics(unsigned long current);
-
#endif
diff --git a/src/soc/intel/xeon_sp/cpx/soc_acpi.c b/src/soc/intel/xeon_sp/cpx/soc_acpi.c
index fab221166c..cf84334449 100644
--- a/src/soc/intel/xeon_sp/cpx/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/cpx/soc_acpi.c
@@ -17,8 +17,6 @@
#include <soc/pm.h>
#include <soc/soc_util.h>
-#include "chip.h"
-
/* TODO: Check if the common/acpi weak function can be used */
unsigned long acpi_fill_mcfg(unsigned long current)
{