sb/intel/lynxpoint/pch: Use boolean for pch_is_lp()

pch_is_lp() returns CONFIG(INTEL_LYNXPOINT_LP) which is a boolean,
so use boolean instead of int.

Change-Id: Ic7bf801f549077cbd493e0a53ba7eff7a72728fb
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84859
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes Haouas 2024-10-24 19:16:45 +02:00 committed by Felix Singer
commit 118b394137

View file

@ -100,7 +100,7 @@ struct usb3_port_config {
extern const struct usb2_port_config mainboard_usb2_ports[MAX_USB2_PORTS];
extern const struct usb3_port_config mainboard_usb3_ports[MAX_USB3_PORTS];
static inline int pch_is_lp(void)
static inline bool pch_is_lp(void)
{
return CONFIG(INTEL_LYNXPOINT_LP);
}