diff options
author | Marc Jones <marcjones@sysproconsulting.com> | 2020-10-15 15:16:45 -0600 |
---|---|---|
committer | Marc Jones <marc@marcjonesconsulting.com> | 2020-10-30 17:13:53 +0000 |
commit | 53b465d1c19502776853c236dbc7afb2c53f0c87 (patch) | |
tree | 37a2a43b43478b5316994d1e443b37e8a96d794a /src/soc/intel/xeon_sp/include/soc/util.h | |
parent | 1f500845b439b5f5bfb8aa34bed8e5db2e266ff7 (diff) | |
download | coreboot-53b465d1c19502776853c236dbc7afb2c53f0c87.tar.gz coreboot-53b465d1c19502776853c236dbc7afb2c53f0c87.tar.bz2 coreboot-53b465d1c19502776853c236dbc7afb2c53f0c87.zip |
soc/intel/xeon_sp: Move read_msr_ppin() to common util.c
Move CPX and SKX read_msr_ppin() to common util.c file.
Update drivers/ocp/smbios #include to match.
Change-Id: I4c4281d2d5ce679f5444a502fa88df04de9f2cd8
Signed-off-by: Marc Jones <marcjones@sysproconsulting.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46479
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/intel/xeon_sp/include/soc/util.h')
-rw-r--r-- | src/soc/intel/xeon_sp/include/soc/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/include/soc/util.h b/src/soc/intel/xeon_sp/include/soc/util.h index 8c2b59724717..51e2b69b0053 100644 --- a/src/soc/intel/xeon_sp/include/soc/util.h +++ b/src/soc/intel/xeon_sp/include/soc/util.h @@ -3,10 +3,12 @@ #ifndef _XEON_SP_SOC_UTIL_H_ #define _XEON_SP_SOC_UTIL_H_ +#include <cpu/x86/msr.h> #include <hob_iiouds.h> void get_cpubusnos(uint32_t *bus0, uint32_t *bus1, uint32_t *bus2, uint32_t *bus3); void unlock_pam_regions(void); void get_stack_busnos(uint32_t *bus); +msr_t read_msr_ppin(void); #endif |