nb/intel/i945/raminit: Use boolean type for helper variables
Change-Id: I465a68f281534cd9fc5a7bde02c32d1353cfdaed Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39536 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
committed by
Patrick Georgi
parent
842dd3328d
commit
d789b658f7
@@ -2027,7 +2027,7 @@ static void sdram_pre_jedec_initialization(void)
|
||||
static void sdram_enhanced_addressing_mode(struct sys_info *sysinfo)
|
||||
{
|
||||
u32 chan0 = 0, chan1 = 0;
|
||||
int chan0_dualsided, chan1_dualsided, chan0_populated, chan1_populated;
|
||||
bool chan0_dualsided, chan1_dualsided, chan0_populated, chan1_populated;
|
||||
|
||||
chan0_populated = (sysinfo->dimm[0] != SYSINFO_DIMM_NOT_POPULATED ||
|
||||
sysinfo->dimm[1] != SYSINFO_DIMM_NOT_POPULATED);
|
||||
|
Reference in New Issue
Block a user