From e97a66d3710baafe747499a41484f467a7e76b3e Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 3 Apr 2021 00:15:16 +0200 Subject: [PATCH] nb/intel/i945/raminit.c: Replace `DIMM0` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the actual value as it is more informative. Change-Id: Id3bd8ccdf79d1e3fdf97cda049f81271bb017ef7 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/52073 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/northbridge/intel/i945/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index 6b1bdb944e..ce620ac292 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -45,7 +45,7 @@ static int get_dimm_spd_address(struct sys_info *sysinfo, int device) if (sysinfo->spd_addresses) return sysinfo->spd_addresses[device]; else - return DIMM0 + device; + return 0x50 + device; }