From 1d941068d8f3fe34e39139a498f7729129dba496 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 28 Oct 2015 03:02:32 -0500 Subject: [PATCH] northbridge/amd/amdk8: Improve DIMM detection debugging Change-Id: I93534082d379369352e367c9c24b213513a543b2 Signed-off-by: Timothy Pearson Reviewed-on: http://review.coreboot.org/12211 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Held --- src/northbridge/amd/amdk8/raminit_f.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/northbridge/amd/amdk8/raminit_f.c b/src/northbridge/amd/amdk8/raminit_f.c index a116d7683b..2206836b56 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)); } }