diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-10-23 21:56:17 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-10-30 00:46:04 +0000 |
commit | 37164ff60927ad965915af28f593c491a7623908 (patch) | |
tree | 71801d14d12f5a25a4a9fd0b5fcd24ac7bbd06fc /src/soc/intel/broadwell/cpu_info.c | |
parent | c200e8c7cdebed98860a771888efbf998c5912b3 (diff) | |
download | coreboot-37164ff60927ad965915af28f593c491a7623908.tar.gz coreboot-37164ff60927ad965915af28f593c491a7623908.tar.bz2 coreboot-37164ff60927ad965915af28f593c491a7623908.zip |
soc/intel/broadwell: Inline CPUID helpers
These functions are small and used in various stages. Inline them.
Change-Id: I0d15012f264dbb0ae2eff8210f79176b350b6e7f
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46707
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell/cpu_info.c')
-rw-r--r-- | src/soc/intel/broadwell/cpu_info.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/soc/intel/broadwell/cpu_info.c b/src/soc/intel/broadwell/cpu_info.c index 506b1a798584..8814a480e521 100644 --- a/src/soc/intel/broadwell/cpu_info.c +++ b/src/soc/intel/broadwell/cpu_info.c @@ -5,16 +5,6 @@ #include <soc/msr.h> #include <soc/systemagent.h> -u32 cpu_family_model(void) -{ - return cpuid_eax(1) & 0x0fff0ff0; -} - -u32 cpu_stepping(void) -{ - return cpuid_eax(1) & 0xf; -} - /* Dynamically determine if the part is ULT. */ int cpu_is_ult(void) { |