From 187bec7ac03f6a19a732964616e85d7785317935 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 12 Dec 2021 07:00:50 +0100 Subject: nb/intel/i945/raminit.c: Set "integrated_graphics" as bool "integrated_graphics" is already used as a "bool" at line #2128. So set it as "bool". Change-Id: Ic5286e691c312e8e44bbbd8e782fdfd4a13cb60f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/60056 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/northbridge/intel/i945/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index 03419ca7b7..566d3e7755 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -2121,7 +2121,7 @@ static void sdram_power_management(struct sys_info *sysinfo) { u16 reg16; u32 reg32; - int integrated_graphics = 1; + bool integrated_graphics = true; int i; if (!(pci_read_config8(HOST_BRIDGE, DEVEN) & (DEVEN_D2F0 | DEVEN_D2F1))) -- cgit v1.2.3