mb/google/deltaur: Add memory topology SODIMM and MEMORYDOWN
Update memory topology for spd info. Deltan supports SODIMM and Deltaur supports MEMORYDOWN. BUG=b:151702387 Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: If314894325d6f222807030a36f8c4cefecfe5bd3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40486 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:
parent
7691ebc379
commit
fb8823ddaa
|
@ -47,6 +47,7 @@ static const struct mb_ddr4_cfg baseboard_memcfg = {
|
||||||
void variant_memory_init(FSP_M_CONFIG *mem_cfg)
|
void variant_memory_init(FSP_M_CONFIG *mem_cfg)
|
||||||
{
|
{
|
||||||
const struct spd_info spd_info = {
|
const struct spd_info spd_info = {
|
||||||
|
.topology = SODIMM,
|
||||||
.smbus_info[0] = {.addr_dimm0 = 0xa0,
|
.smbus_info[0] = {.addr_dimm0 = 0xa0,
|
||||||
.addr_dimm1 = 0 },
|
.addr_dimm1 = 0 },
|
||||||
.smbus_info[1] = {.addr_dimm0 = 0xa4,
|
.smbus_info[1] = {.addr_dimm0 = 0xa4,
|
||||||
|
|
|
@ -83,6 +83,7 @@ void variant_memory_init(FSP_M_CONFIG *mem_cfg)
|
||||||
{
|
{
|
||||||
const struct lpddr4x_cfg *board_cfg = variant_memory_params();
|
const struct lpddr4x_cfg *board_cfg = variant_memory_params();
|
||||||
const struct spd_info spd_info = {
|
const struct spd_info spd_info = {
|
||||||
|
.topology = MEMORY_DOWN,
|
||||||
.md_spd_loc = SPD_CBFS,
|
.md_spd_loc = SPD_CBFS,
|
||||||
.cbfs_index = variant_memory_sku(),
|
.cbfs_index = variant_memory_sku(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue