mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: lib/spd_bin: Print out correct SMBus SPD address in dump_spd_info
With changedd82edc388
(lib/spd_bin: make SMBus SPD addresses an input), SMBus SPD addresses are accepted from the mainboard and not calculated within the spd_bin library routines. Use the addr_map values to print correct address in dump_spd_info. BUG=none BRANCH=none TEST=none Change-Id: I90ce930c23cd49ff93e4d5c8067810ee77598b86 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Commit-Id:a26f9da6ba
Original-Change-Id: Iff37e382aeac9704f74bafc2ecb27f14c478723f Original-Signed-off-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-on: https://review.coreboot.org/20118 Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Original-Reviewed-by: Shelley Chen <shchen@google.com> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/531712 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
parent
12deaa6865
commit
fd16fd7b56
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ void dump_spd_info(struct spd_block *blk)
|
|||
|
||||
for (i = 0; i < CONFIG_DIMM_MAX; i++)
|
||||
if (blk->spd_array[i] != NULL && blk->spd_array[i][0] != 0) {
|
||||
printk(BIOS_DEBUG, "SPD @ 0x%02X\n", 0xA0|(i << 1));
|
||||
printk(BIOS_DEBUG, "SPD @ 0x%02X\n", blk->addr_map[i]);
|
||||
print_spd_info(blk->spd_array[i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue