summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-14 19:05:14 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-10-17 15:01:11 +0000
commitc892db63982cf7bdd0979812b03e268137be0a4e (patch)
treec88332f33732e098cfb29ff7f4fdd795123719c9 /src/northbridge
parent04b5123aed8983bb9002402545f2cc62b9ffd148 (diff)
downloadcoreboot-c892db63982cf7bdd0979812b03e268137be0a4e.tar.xz
nb/intel/nehalem: Change the output verbosity of raminit timings
This decreases the output verbosity of RAM_DEBUG to be useful. Change-Id: I9fa681303da0e063dd2ca789d7711151b2365f16 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36036 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/nehalem/raminit.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index b9d407a58e..75be57231b 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -1576,14 +1576,14 @@ static void write_training_data(struct raminfo *info)
static void dump_timings(struct raminfo *info)
{
int channel, slot, rank, lane, i;
- printk(RAM_DEBUG, "Timings:\n");
+ printk(RAM_SPEW, "Timings:\n");
FOR_POPULATED_RANKS {
- printk(RAM_DEBUG, "channel %d, slot %d, rank %d\n", channel,
+ printk(RAM_SPEW, "channel %d, slot %d, rank %d\n", channel,
slot, rank);
for (lane = 0; lane < 9; lane++) {
- printk(RAM_DEBUG, "lane %d: ", lane);
+ printk(RAM_SPEW, "lane %d: ", lane);
for (i = 0; i < 4; i++) {
- printk(RAM_DEBUG, "%x (%x) ",
+ printk(RAM_SPEW, "%x (%x) ",
read_500(info, channel,
get_timing_register_addr
(lane, i, slot, rank),
@@ -1592,12 +1592,12 @@ static void dump_timings(struct raminfo *info)
lane_timings[i][channel][slot][rank]
[lane]);
}
- printk(RAM_DEBUG, "\n");
+ printk(RAM_SPEW, "\n");
}
}
- printk(RAM_DEBUG, "[178] = %x (%x)\n", read_1d0(0x178, 7),
+ printk(RAM_SPEW, "[178] = %x (%x)\n", read_1d0(0x178, 7),
info->training.reg_178);
- printk(RAM_DEBUG, "[10b] = %x (%x)\n", read_1d0(0x10b, 6),
+ printk(RAM_SPEW, "[10b] = %x (%x)\n", read_1d0(0x10b, 6),
info->training.reg_10b);
}
@@ -4011,19 +4011,19 @@ void raminit(const int s3resume, const u8 *spd_addrmap)
int j;
if (s3resume && info.cached_training) {
restore_274265(&info);
- printk(RAM_DEBUG, "reg2ca9_bit0 = %x\n",
+ printk(RAM_SPEW, "reg2ca9_bit0 = %x\n",
info.cached_training->reg2ca9_bit0);
for (i = 0; i < 2; i++)
for (j = 0; j < 3; j++)
- printk(RAM_DEBUG, "reg274265[%d][%d] = %x\n",
+ printk(RAM_SPEW, "reg274265[%d][%d] = %x\n",
i, j, info.cached_training->reg274265[i][j]);
} else {
set_274265(&info);
- printk(RAM_DEBUG, "reg2ca9_bit0 = %x\n",
+ printk(RAM_SPEW, "reg2ca9_bit0 = %x\n",
info.training.reg2ca9_bit0);
for (i = 0; i < 2; i++)
for (j = 0; j < 3; j++)
- printk(RAM_DEBUG, "reg274265[%d][%d] = %x\n",
+ printk(RAM_SPEW, "reg274265[%d][%d] = %x\n",
i, j, info.training.reg274265[i][j]);
}