cpu/intel/haswell: Usee boolean for haswell_is_ult()
haswell_is_ult() returns CONFIG(INTEL_LYNXPOINT_LP) which is a boolean, so use boolean instead of int. Change-Id: I3c98ee819fc937ed6da9ee1340c2af10cec19eb3 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84857 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
This commit is contained in:
parent
3794f9f94a
commit
e90fc546e7
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#define _CPU_INTEL_HASWELL_H
|
||||
|
||||
#include <cpu/cpu.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* CPU types without stepping */
|
||||
|
|
@ -181,7 +182,7 @@ static inline u32 cpu_stepping(void)
|
|||
return cpuid_eax(1) & 0xf;
|
||||
}
|
||||
|
||||
static inline int haswell_is_ult(void)
|
||||
static inline bool haswell_is_ult(void)
|
||||
{
|
||||
return CONFIG(INTEL_LYNXPOINT_LP);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue