summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-28 03:02:32 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-10-29 15:39:30 +0100
commit1d941068d8f3fe34e39139a498f7729129dba496 (patch)
tree432bc676399ad5fb463d190077e73ad3c71dbe52
parentd4bbfe863b8d7f0018e1b1a35034f783293926ea (diff)
downloadcoreboot-staging-1d941068d8f3fe34e39139a498f7729129dba496.zip
coreboot-staging-1d941068d8f3fe34e39139a498f7729129dba496.tar.gz
northbridge/amd/amdk8: Improve DIMM detection debugging
Change-Id: I93534082d379369352e367c9c24b213513a543b2 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/12211 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/northbridge/amd/amdk8/raminit_f.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/raminit_f.c b/src/northbridge/amd/amdk8/raminit_f.c
index a116d76..2206836 100644
--- a/src/northbridge/amd/amdk8/raminit_f.c
+++ b/src/northbridge/amd/amdk8/raminit_f.c
@@ -1397,6 +1397,7 @@ static unsigned int spd_detect_dimms(const struct mem_controller *ctrl)
if (device) {
byte = spd_read_byte(ctrl->channel0[i], SPD_MEM_TYPE); /* Type */
if (byte == SPD_MEM_TYPE_SDRAM_DDR2) {
+ printk_raminit("\tDIMM detected\n");
dimm_mask |= (1 << i);
}
}
@@ -1405,6 +1406,7 @@ static unsigned int spd_detect_dimms(const struct mem_controller *ctrl)
if (device) {
byte = spd_read_byte(ctrl->channel1[i], SPD_MEM_TYPE);
if (byte == SPD_MEM_TYPE_SDRAM_DDR2) {
+ printk_raminit("\tDIMM detected\n");
dimm_mask |= (1 << (i + DIMM_SOCKETS));
}
}
OpenPOWER on IntegriCloud