mb/google/deltaur: Correct SPD SMBus address

SMBus uses 7-bits address, change it from 8-bits to 7-bits.

BUG=b:151702387
TEST=Check Memory SPD data is correct in console log.

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I1720b4d6aa0bc785ad86234b3523bb0676ec5c82
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40519
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Eric Lai 2020-04-20 15:20:55 +08:00 committed by Patrick Georgi
parent f3003657a0
commit 9138eee4f7
1 changed files with 2 additions and 2 deletions

View File

@ -48,9 +48,9 @@ void variant_memory_init(FSP_M_CONFIG *mem_cfg)
{ {
const struct spd_info spd_info = { const struct spd_info spd_info = {
.topology = SODIMM, .topology = SODIMM,
.smbus_info[0] = {.addr_dimm0 = 0xa0, .smbus_info[0] = {.addr_dimm0 = 0x50,
.addr_dimm1 = 0 }, .addr_dimm1 = 0 },
.smbus_info[1] = {.addr_dimm0 = 0xa4, .smbus_info[1] = {.addr_dimm0 = 0x52,
.addr_dimm1 = 0 }, .addr_dimm1 = 0 },
}; };
const bool half_populated = false; const bool half_populated = false;