From e90fc546e75ecf272920481266c1249de6cf17d5 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 24 Oct 2024 19:01:59 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84857 Tested-by: build bot (Jenkins) Reviewed-by: Nicholas Chin --- src/cpu/intel/haswell/haswell.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpu/intel/haswell/haswell.h b/src/cpu/intel/haswell/haswell.h index 5697d0f36e..f63b0ef4b3 100644 --- a/src/cpu/intel/haswell/haswell.h +++ b/src/cpu/intel/haswell/haswell.h @@ -4,6 +4,7 @@ #define _CPU_INTEL_HASWELL_H #include +#include #include /* 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); }