nb/intel/sandybridge: Correct some whitespace issues

Add a missing tab and remove spurious spaces in the IOSAV structs.

Change-Id: If588d3f01c8744fd0c83576a56cfdda2fb43a3bd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47570
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-11-13 13:56:30 +01:00
parent 868bca2527
commit fd9a8b679b
1 changed files with 7 additions and 7 deletions

View File

@ -650,7 +650,7 @@ static void write_mrreg(ramctr_timing *ctrl, int channel, int slotrank, int reg,
/* DRAM command MRS */ /* DRAM command MRS */
[2] = { [2] = {
.sp_cmd_ctrl = { .sp_cmd_ctrl = {
.command = IOSAV_MRS, .command = IOSAV_MRS,
}, },
.subseq_ctrl = { .subseq_ctrl = {
.cmd_executions = 1, .cmd_executions = 1,
@ -821,7 +821,7 @@ void dram_mrscommands(ramctr_timing *ctrl)
/* DRAM command NOP (without ODT nor chip selects) */ /* DRAM command NOP (without ODT nor chip selects) */
[0] = { [0] = {
.sp_cmd_ctrl = { .sp_cmd_ctrl = {
.command = IOSAV_NOP & ~(0xff << 8), .command = IOSAV_NOP & ~(0xff << 8),
}, },
.subseq_ctrl = { .subseq_ctrl = {
.cmd_executions = 1, .cmd_executions = 1,
@ -855,8 +855,8 @@ void dram_mrscommands(ramctr_timing *ctrl)
.rank = 0, .rank = 0,
}, },
.addr_update = { .addr_update = {
.inc_rank = 1, .inc_rank = 1,
.addr_wrap = 20, .addr_wrap = 20,
}, },
}, },
}; };
@ -1496,7 +1496,7 @@ static void test_timC(ramctr_timing *ctrl, int channel, int slotrank)
.rank = slotrank, .rank = slotrank,
}, },
.addr_update = { .addr_update = {
.addr_wrap = 18, .addr_wrap = 18,
}, },
}, },
}; };
@ -2282,7 +2282,7 @@ int command_training(ramctr_timing *ctrl)
} }
FOR_ALL_POPULATED_CHANNELS FOR_ALL_POPULATED_CHANNELS
program_timings(ctrl, channel); program_timings(ctrl, channel);
reprogram_320c(ctrl); reprogram_320c(ctrl);
return 0; return 0;
@ -2881,7 +2881,7 @@ void channel_scrub(ramctr_timing *ctrl)
.rank = slotrank, .rank = slotrank,
}, },
.addr_update = { .addr_update = {
.addr_wrap = 18, .addr_wrap = 18,
}, },
}, },
}; };