coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cbfs.h>
#include <console/console.h>
#include <gpio.h>
#include <soc/gpio.h>
#include <soc/romstage.h>
#include <string.h>
#include <baseboard/variant.h>
#include "spd_util.h"
#include "spd.h"
Go to the source code of this file.
Functions | |
static void | mainboard_print_spd_info (uint8_t spd[]) |
__weak int | is_dual_channel (const int spd_index) |
void | spd_memory_init_params (FSPM_UPD *mupd, int spd_index) |
__weak int is_dual_channel | ( | const int | spd_index | ) |
Definition at line 65 of file spd.c.
Referenced by spd_memory_init_params().
Definition at line 14 of file spd.c.
References BIOS_INFO, memcpy(), printk, SPD_ADDRESSING, SPD_BUS_DEV_WIDTH, SPD_DENSITY_BANKS, SPD_DRAM_DDR3, SPD_DRAM_LPDDR3, SPD_DRAM_TYPE, SPD_ORGANIZATION, SPD_PART_LEN, and SPD_PART_OFF.
Referenced by spd_memory_init_params().
void spd_memory_init_params | ( | FSPM_UPD * | mupd, |
int | spd_index | ||
) |
Definition at line 72 of file spd.c.
References BIOS_ERR, BIOS_INFO, cbfs_map(), die(), FSP_M_CONFIG, is_dual_channel(), mainboard_print_spd_info(), printk, spd_index, and SPD_LEN.