From 5a061852b2abbefaa5eb7cc4bc0e311e6c2ccc04 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Fri, 22 Sep 2017 15:19:26 +0200 Subject: nb/intel/sandybridge/raminit: Improve readability Add debug messages for SPD probing. Change-Id: I722102b7981781b88cdc4877f698294eb719ff32 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/21638 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Arthur Heymans --- src/northbridge/intel/sandybridge/raminit.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c index 2854a2b0d7..bdba7489c0 100644 --- a/src/northbridge/intel/sandybridge/raminit.c +++ b/src/northbridge/intel/sandybridge/raminit.c @@ -209,6 +209,9 @@ static void dram_find_spds_ddr3(spd_raw_data *spd, ramctr_timing *ctrl) /* count dimms on channel */ for (slot = 0; slot < NUM_SLOTS; slot++) { spd_slot = 2 * channel + slot; + printk(BIOS_DEBUG, + "SPD probe channel%d, slot%d\n", channel, slot); + spd_decode_ddr3(&dimm->dimm[channel][slot], spd[spd_slot]); if (dimm->dimm[channel][slot].dram_type == SPD_MEMORY_TYPE_SDRAM_DDR3) dimms_on_channel++; @@ -216,6 +219,9 @@ static void dram_find_spds_ddr3(spd_raw_data *spd, ramctr_timing *ctrl) for (slot = 0; slot < NUM_SLOTS; slot++) { spd_slot = 2 * channel + slot; + printk(BIOS_DEBUG, + "SPD probe channel%d, slot%d\n", channel, slot); + /* search for XMP profile */ spd_xmp_decode_ddr3(&dimm->dimm[channel][slot], spd[spd_slot], -- cgit v1.2.3