diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-04-03 00:15:16 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-04-05 13:02:41 +0000 |
commit | e97a66d3710baafe747499a41484f467a7e76b3e (patch) | |
tree | 53f1d0630a0b933d33d566620fde73fb787f9e1e /src/northbridge | |
parent | a60b42a26abd720d81db35578d54c77c799d67cb (diff) |
nb/intel/i945/raminit.c: Replace `DIMM0`
Use the actual value as it is more informative.
Change-Id: Id3bd8ccdf79d1e3fdf97cda049f81271bb017ef7
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52073
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/i945/raminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |