mb/google/brya/var/kinox: Set memory SMBus addresses to 0x52, 0x50

Follow the Kinox_schematic_R01_20220418.pdf to set memory SMBus
addresses to 0x52, 0x50.

BUG=b:231398371
TEST=Build and boot to OS with either 1 or 2 DIMM slots populated.

Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Change-Id: I32bb4f62a6b8a485ac757a60f5d16adb69109e2f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64333
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Dtrain Hsu 2022-05-13 19:06:01 +08:00 committed by Felix Held
parent 97144eee85
commit 82a8d8172c
1 changed files with 7 additions and 0 deletions

View File

@ -29,3 +29,10 @@ const struct mb_cfg *variant_memory_params(void)
{ {
return &ddr4_mem_config; return &ddr4_mem_config;
} }
void variant_get_spd_info(struct mem_spd *spd_info)
{
spd_info->topo = MEM_TOPO_DIMM_MODULE;
spd_info->smbus[0].addr_dimm[0] = 0x52;
spd_info->smbus[1].addr_dimm[0] = 0x50;
}