summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-12 07:00:50 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-04 11:51:43 +0000
commit187bec7ac03f6a19a732964616e85d7785317935 (patch)
tree7142f69892fa3f8f5386f7288afb66d6296ab6b2
parent2219d89d9db60aaf64b6251a09a813b75c67d716 (diff)
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60056 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
-rw-r--r--src/northbridge/intel/i945/raminit.c2
1 files changed, 1 insertions, 1 deletions
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)))