summaryrefslogtreecommitdiff
path: root/src/lib/spd_bin.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-08 18:02:24 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:30:21 +0100
commit45fde705b627d6194f795237647ce42eb535d1c3 (patch)
tree4e64bbab1033cd1f281564de14bb59119c3bc89d /src/lib/spd_bin.c
parent2f919ec4765e4484d79b866332fa19ec338db5c0 (diff)
downloadcoreboot-45fde705b627d6194f795237647ce42eb535d1c3.tar.xz
src/lib: Add space before (
Fix the following error detected by checkpatch.pl: ERROR: space required before the open parenthesis '(' TEST=Build and run on Galileo Gen2 Change-Id: I8953fecbe75136ff989c9e3cf6c5e155dcee3c3b Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18698 Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib/spd_bin.c')
-rw-r--r--src/lib/spd_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/spd_bin.c b/src/lib/spd_bin.c
index 8f358bb0af..ff00e6191e 100644
--- a/src/lib/spd_bin.c
+++ b/src/lib/spd_bin.c
@@ -199,7 +199,7 @@ int read_ddr3_spd_from_cbfs(u8 *buf, int idx)
u16 i;
printk(BIOS_WARNING, "\nDisplay the SPD");
for (i = 0; i < CONFIG_DIMM_SPD_SIZE; i++) {
- if((i % 16) == 0x00)
+ if ((i % 16) == 0x00)
printk(BIOS_WARNING, "\n%02x: ", i);
printk(BIOS_WARNING, "%02x ", buf[i]);
}