Commit 9749a85c authored by Elyes HAOUAS's avatar Elyes HAOUAS Committed by Martin Roth
Browse files

nb/intel/i945/raminit.c: Remove not necessary braces {}



Braces {} are not necessary for single statement blocks.

Change-Id: I2a2d8672fe3f53450dcfa53dc127b89b4aa6b75e
Signed-off-by: default avatarElyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26201

Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: default avatarPaul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: default avatarFelix Held <felix-coreboot@felixheld.de>
parent 60fd6846
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment