diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-10-28 19:29:49 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-01-10 15:42:17 +0000 |
commit | 829fb2e9857fa9764edc2aadc292168a07939602 (patch) | |
tree | 1b003874cf139edc6d6ca63c81ceb7f7774fa355 /src/cpu/intel/haswell/haswell.h | |
parent | 78c45bd3ef775a790f5cfe60462d37d5edb19e4f (diff) |
cpu/intel/haswell: Do not determine CPU type at runtime
It is already known at compile-time.
Change-Id: I20303cd1f79b71268a9d734c85a1291afe9177e9
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46912
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/intel/haswell/haswell.h')
-rw-r--r-- | src/cpu/intel/haswell/haswell.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cpu/intel/haswell/haswell.h b/src/cpu/intel/haswell/haswell.h index 07013325d6..deadbc567f 100644 --- a/src/cpu/intel/haswell/haswell.h +++ b/src/cpu/intel/haswell/haswell.h @@ -145,8 +145,9 @@ void set_power_limits(u8 power_limit_1_time); int cpu_config_tdp_levels(void); /* CPU identification */ -int haswell_family_model(void); -int haswell_stepping(void); -int haswell_is_ult(void); +static inline int haswell_is_ult(void) +{ + return CONFIG(INTEL_LYNXPOINT_LP); +} #endif |