summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/cpx/chip.h
diff options
context:
space:
mode:
authorMarc Jones <marcjones@sysproconsulting.com>2020-09-28 11:19:39 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2020-10-06 15:17:29 +0000
commit392bcca0c91732e8be941f4fbe02b4be7d8847d1 (patch)
treec64357b87682577d6aa8430d05458c5ea8070b43 /src/soc/intel/xeon_sp/cpx/chip.h
parent9f55574c907dd3c52d9078651d5cfea2f4cda4e3 (diff)
soc/intel/xeon_sp/cpx: Move soc specific ACPI functions
Prepare for common ACPI code. Move cpx soc ACPI functions to a separate file, soc_acpi.c Change-Id: I4aaca660e2f94d856676681417ae6c5d8c28a1f1 Signed-off-by: Marc Jones <marcjones@sysproconsulting.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45842 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx/chip.h')
-rw-r--r--src/soc/intel/xeon_sp/cpx/chip.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/chip.h b/src/soc/intel/xeon_sp/cpx/chip.h
index 434b343bb2..e7c146c291 100644
--- a/src/soc/intel/xeon_sp/cpx/chip.h
+++ b/src/soc/intel/xeon_sp/cpx/chip.h
@@ -99,4 +99,10 @@ 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