![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <gpio.h>
#include <option.h>
#include <soc/cnl_memcfg_init.h>
#include <soc/romstage.h>
#include <string.h>
#include <types.h>
Go to the source code of this file.
Functions | |
static unsigned int | get_memory_config_straps (void) |
static bool | is_dual_channel (const unsigned int memid) |
static void | fill_spd_data (struct cnl_mb_cfg *mem_cfg) |
void | mainboard_memory_init_params (FSPM_UPD *memupd) |
|
static |
Definition at line 46 of file romstage.c.
References BIOS_DEBUG, get_memory_config_straps(), is_dual_channel(), printk, READ_SPD_CBFS, spd_info::read_type, cnl_mb_cfg::spd, spd_info::spd_data_by::spd_index, and spd_info::spd_spec.
Referenced by mainboard_memory_init_params().
Definition at line 11 of file romstage.c.
References ARRAY_SIZE, gpio_base2_value(), GPP_E22, GPP_E23, and GPP_H6.
Referenced by fill_spd_data().
Definition at line 41 of file romstage.c.
Referenced by fill_spd_data().
void mainboard_memory_init_params | ( | FSPM_UPD * | memupd | ) |
Definition at line 63 of file romstage.c.
References cannonlake_memcfg_init(), fill_spd_data(), get_uint_option(), memcfg, and cnl_mb_cfg::rcomp_resistor.