summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/x4x
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-04 13:27:52 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-05 11:37:00 +0000
commit5ba154a597e7177e34a588cd9e07a4cc7f16b837 (patch)
treef62c855f21ae9f4062ed09dee239f9c00428c486 /src/northbridge/intel/x4x
parent6aa9d668739a29ebbaabd435d261f90176a72261 (diff)
src: Use space after 'if', 'for'
Change-Id: I5d3a5ede47aefc7cc2ee330f8a0bcded16138764 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44173 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/x4x')
-rw-r--r--src/northbridge/intel/x4x/dq_dqs.c2
-rw-r--r--src/northbridge/intel/x4x/raminit_ddr23.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/x4x/dq_dqs.c b/src/northbridge/intel/x4x/dq_dqs.c
index 52166ed7e0..489340a2bd 100644
--- a/src/northbridge/intel/x4x/dq_dqs.c
+++ b/src/northbridge/intel/x4x/dq_dqs.c
@@ -498,7 +498,7 @@ int do_read_training(struct sysinfo *s)
FOR_EACH_BYTELANE(lane) {
saved_dqs_center[channel][lane] /= RT_LOOPS;
while (saved_dqs_center[channel][lane]--) {
- if(rt_increment_dqs(&s->rt_dqs[channel][lane])
+ if (rt_increment_dqs(&s->rt_dqs[channel][lane])
== CB_ERR)
/* Should never happen */
printk(BIOS_ERR,
diff --git a/src/northbridge/intel/x4x/raminit_ddr23.c b/src/northbridge/intel/x4x/raminit_ddr23.c
index 1aa7e394ef..7c12ee0602 100644
--- a/src/northbridge/intel/x4x/raminit_ddr23.c
+++ b/src/northbridge/intel/x4x/raminit_ddr23.c
@@ -2166,7 +2166,7 @@ void do_raminit(struct sysinfo *s, int fast_boot)
if (!fast_boot) {
if (s->selected_timings.mem_clk > MEM_CLOCK_667MHz) {
- if(do_write_training(s))
+ if (do_write_training(s))
die("DQ write training failed!");
}
if (do_read_training(s))