nb/intel/i945/raminit.c: Remove not necessary braces {}
Braces {} are not necessary for single statement blocks. Change-Id: I2a2d8672fe3f53450dcfa53dc127b89b4aa6b75e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26201 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
committed by
Martin Roth
parent
60fd684698
commit
9749a85cb0
@ -504,14 +504,12 @@ static void gather_common_timing(struct sys_info *sysinfo,
|
||||
}
|
||||
dimm_mask |= (1 << i);
|
||||
}
|
||||
if (!dimm_mask) {
|
||||
if (!dimm_mask)
|
||||
die("No memory installed.\n");
|
||||
}
|
||||
|
||||
if (!(dimm_mask & ((1 << DIMM_SOCKETS) - 1))) {
|
||||
if (!(dimm_mask & ((1 << DIMM_SOCKETS) - 1)))
|
||||
/* Possibly does not boot in this case */
|
||||
printk(BIOS_INFO, "Channel 0 has no memory populated.\n");
|
||||
}
|
||||
}
|
||||
|
||||
static void choose_tclk(struct sys_info *sysinfo,
|
||||
|
Reference in New Issue
Block a user