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>
This commit is contained in:
Elyes HAOUAS 2021-12-12 07:00:50 +01:00 committed by Felix Held
parent 2219d89d9d
commit 187bec7ac0
1 changed files with 1 additions and 1 deletions

View File

@ -2121,7 +2121,7 @@ static void sdram_power_management(struct sys_info *sysinfo)
{ {
u16 reg16; u16 reg16;
u32 reg32; u32 reg32;
int integrated_graphics = 1; bool integrated_graphics = true;
int i; int i;
if (!(pci_read_config8(HOST_BRIDGE, DEVEN) & (DEVEN_D2F0 | DEVEN_D2F1))) if (!(pci_read_config8(HOST_BRIDGE, DEVEN) & (DEVEN_D2F0 | DEVEN_D2F1)))