coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage_fsp_params.c File Reference
#include <assert.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
Include dependency graph for romstage_fsp_params.c:

Go to the source code of this file.

Functions

void mainboard_memory_init_params (FSPM_UPD *memupd)
 

Variables

static const struct mb_cfg ddr5_mem_config
 

Function Documentation

◆ mainboard_memory_init_params()

void mainboard_memory_init_params ( FSPM_UPD *  memupd)

Definition at line 30 of file romstage_fsp_params.c.

References ddr5_mem_config, mem_config, MEM_TOPO_DIMM_MODULE, memcfg_init(), and mem_spd::topo.

Here is the call graph for this function:

Variable Documentation

◆ ddr5_mem_config

const struct mb_cfg ddr5_mem_config
static
Initial value:
= {
.type = MEM_TYPE_DDR5,
.rcomp = {
.resistor = 100,
.targets = { 50, 30, 30, 30, 27 },
},
.ect = true,
.UserBd = BOARD_TYPE_MOBILE,
.LpDdrDqDqsReTraining = 1,
.ddr_config = {
.dq_pins_interleaved = false,
}
}
@ MEM_TYPE_DDR5
Definition: meminit.h:12
@ BOARD_TYPE_MOBILE
Definition: romstage.h:14

Definition at line 1 of file romstage_fsp_params.c.

Referenced by mainboard_memory_init_params().