coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
soc/cnl_memcfg_init.h
>
4
#include <soc/romstage.h>
5
6
static
const
struct
cnl_mb_cfg
memcfg
= {
7
.
spd
[0] = {
8
.
read_type
=
READ_SMBUS
,
9
.spd_spec = {.spd_smbus_address = 0xa0},
10
},
11
.spd[2] = {
12
.read_type =
READ_SMBUS
,
13
.spd_spec = {.spd_smbus_address = 0xa4},
14
},
15
.rcomp_resistor = { 121, 81, 100 },
16
.rcomp_targets = { 100, 40, 20, 20, 26 },
17
.dq_pins_interleaved = 1,
18
.vref_ca_config = 2,
19
};
20
21
void
mainboard_memory_init_params
(FSPM_UPD *memupd)
22
{
23
cannonlake_memcfg_init
(&memupd->FspmConfig, &
memcfg
);
24
}
cannonlake_memcfg_init
void cannonlake_memcfg_init(FSP_M_CONFIG *mem_cfg, const struct cnl_mb_cfg *cnl_cfg)
Definition:
cnl_memcfg_init.c:108
cnl_memcfg_init.h
READ_SMBUS
@ READ_SMBUS
Definition:
cnl_memcfg_init.h:35
mainboard_memory_init_params
void mainboard_memory_init_params(FSPM_UPD *mupd)
Definition:
romstage.c:22
memcfg
static const struct cnl_mb_cfg memcfg
Definition:
romstage.c:6
cnl_mb_cfg
Definition:
cnl_memcfg_init.h:55
cnl_mb_cfg::spd
struct spd_info spd[NUM_DIMM_SLOT]
Definition:
cnl_memcfg_init.h:57
spd_info::read_type
enum mem_info_read_type read_type
Definition:
cnl_memcfg_init.h:41
src
mainboard
system76
cml-u
romstage.c
Generated by
1.9.1