summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-11-13 13:56:30 +0100
committerAngel Pons <th3fanbus@gmail.com>2020-11-19 23:04:20 +0000
commitfd9a8b679b324984ae85b438f88696010ed30354 (patch)
tree1a33b1e4b67dafde08e561432274d07ce4287075 /src/northbridge
parent868bca2527da30f6974b1f5a61c8a5b55620a630 (diff)
downloadcoreboot-fd9a8b679b324984ae85b438f88696010ed30354.tar.xz
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>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/sandybridge/raminit_common.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c
index 3ed1a3a335..49168a9adc 100644
--- a/src/northbridge/intel/sandybridge/raminit_common.c
+++ b/src/northbridge/intel/sandybridge/raminit_common.c
@@ -650,7 +650,7 @@ static void write_mrreg(ramctr_timing *ctrl, int channel, int slotrank, int reg,
/* DRAM command MRS */
[2] = {
.sp_cmd_ctrl = {
- .command = IOSAV_MRS,
+ .command = IOSAV_MRS,
},
.subseq_ctrl = {
.cmd_executions = 1,
@@ -821,7 +821,7 @@ void dram_mrscommands(ramctr_timing *ctrl)
/* DRAM command NOP (without ODT nor chip selects) */
[0] = {
.sp_cmd_ctrl = {
- .command = IOSAV_NOP & ~(0xff << 8),
+ .command = IOSAV_NOP & ~(0xff << 8),
},
.subseq_ctrl = {
.cmd_executions = 1,
@@ -855,8 +855,8 @@ void dram_mrscommands(ramctr_timing *ctrl)
.rank = 0,
},
.addr_update = {
- .inc_rank = 1,
- .addr_wrap = 20,
+ .inc_rank = 1,
+ .addr_wrap = 20,
},
},
};
@@ -1496,7 +1496,7 @@ static void test_timC(ramctr_timing *ctrl, int channel, int slotrank)
.rank = slotrank,
},
.addr_update = {
- .addr_wrap = 18,
+ .addr_wrap = 18,
},
},
};
@@ -2282,7 +2282,7 @@ int command_training(ramctr_timing *ctrl)
}
FOR_ALL_POPULATED_CHANNELS
- program_timings(ctrl, channel);
+ program_timings(ctrl, channel);
reprogram_320c(ctrl);
return 0;
@@ -2881,7 +2881,7 @@ void channel_scrub(ramctr_timing *ctrl)
.rank = slotrank,
},
.addr_update = {
- .addr_wrap = 18,
+ .addr_wrap = 18,
},
},
};