diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-05-06 11:48:41 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-05-07 10:53:31 +0000 |
commit | 8bcd8210ea64bdbb35485d361e645f2c9cfcf763 (patch) | |
tree | 7f36324e0d9e90e03f239974c7ae99220616c6d7 /src/device | |
parent | 0f45e17f564a657ddf9804124e4e30da0edb1d13 (diff) |
dram/ddr3: Use the same naming convention as DDR4
Change-Id: Ifaff19c0117b5247d3321605ccc2e97bf8226ca8
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82216
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/dram/ddr3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/dram/ddr3.c b/src/device/dram/ddr3.c index 8d2752b15c..09a4e7ff9f 100644 --- a/src/device/dram/ddr3.c +++ b/src/device/dram/ddr3.c @@ -365,7 +365,7 @@ int spd_decode_ddr3(struct dimm_attr_ddr3_st *dimm, spd_ddr3_raw_data spd) memcpy(dimm->part_number, &spd[128], 16); printram(" Part number : %s\n", dimm->part_number); - memcpy(dimm->serial, &spd[SPD_DIMM_SERIAL_NUM], SPD_DIMM_SERIAL_LEN); + memcpy(dimm->serial, &spd[SPD_DDR3_SERIAL_NUM], SPD_DDR3_SERIAL_LEN); return ret; } |