summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/spd_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/spd_bin.c b/src/lib/spd_bin.c
index 5c4f09f8585c..3e26004a63f8 100644
--- a/src/lib/spd_bin.c
+++ b/src/lib/spd_bin.c
@@ -159,7 +159,7 @@ void get_spd_smbus(struct spd_block *blk)
for (i = 0 ; i < CONFIG_DIMM_MAX; i++) {
get_spd(spd_data_ptr + i * CONFIG_DIMM_SPD_SIZE,
- 0xA0 + (i << 1));
+ blk->addr_map[i]);
blk->spd_array[i] = spd_data_ptr + i * CONFIG_DIMM_SPD_SIZE;
}