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>
This commit is contained in:
Elyes HAOUAS
2020-08-04 13:27:52 +02:00
committed by Angel Pons
parent 6aa9d66873
commit 5ba154a597
7 changed files with 9 additions and 9 deletions

View File

@@ -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,

View File

@@ -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))