summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-03 16:47:09 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-01-06 16:50:43 +0000
commitc728e257e4d3f4713f4d6d313cc822e7d93f82ce (patch)
tree61dc7b2c0d99542bc89b0dd89b8687988f68325a /src/northbridge/intel
parent42d033aeefe2f439c62d23dba691fd884567cac5 (diff)
nb/intel/sandybridge: Use consistent comment style
Change-Id: Iacb1fb0a1309c3c23e670fee540514b6f546314a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49066 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/sandybridge/raminit_common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c
index cef104ca1c..eac0b50eed 100644
--- a/src/northbridge/intel/sandybridge/raminit_common.c
+++ b/src/northbridge/intel/sandybridge/raminit_common.c
@@ -430,7 +430,7 @@ void dram_memorymap(ramctr_timing *ctrl, int me_uma_size)
remaplimit = remapbase + MIN(4096, tom - me_uma_size) - toludbase - 1;
touudbase = remaplimit + 1;
} else {
- // Reclaim not possible
+ /* Reclaim not possible */
reclaim = 0;
touudbase = tom - me_uma_size;
}
@@ -752,11 +752,11 @@ static u32 encode_odt(u32 odt)
{
switch (odt) {
case 30:
- return (1 << 9) | (1 << 2); // RZQ/8, RZQ/4
+ return (1 << 9) | (1 << 2); /* RZQ/8, RZQ/4 */
case 60:
- return (1 << 2); // RZQ/4
+ return (1 << 2); /* RZQ/4 */
case 120:
- return (1 << 6); // RZQ/2
+ return (1 << 6); /* RZQ/2 */
default:
case 0:
return 0;
@@ -2827,8 +2827,8 @@ void final_registers(ramctr_timing *ctrl)
FOR_ALL_CHANNELS
MCHBAR32(PM_TRML_M_CONFIG_ch(channel)) = 0x00000aaa;
- MCHBAR32(PM_BW_LIMIT_CONFIG) = 0x5f7003ff; // OK
- MCHBAR32(PM_DLL_CONFIG) = 0x00073000 | ctrl->mdll_wake_delay; // OK
+ MCHBAR32(PM_BW_LIMIT_CONFIG) = 0x5f7003ff;
+ MCHBAR32(PM_DLL_CONFIG) = 0x00073000 | ctrl->mdll_wake_delay;
FOR_ALL_CHANNELS {
switch (ctrl->rankmap[channel]) {