coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spd_util.c File Reference
#include <cbfs.h>
#include <console/console.h>
#include <stdint.h>
#include <string.h>
#include "boardid.h"
#include "spd.h"
Include dependency graph for spd_util.c:

Go to the source code of this file.

Functions

void mainboard_fill_dq_map_data (void *dq_map_ch0, void *dq_map_ch1)
 
void mainboard_fill_dqs_map_data (void *dqs_map_ch0, void *dqs_map_ch1)
 
void mainboard_fill_rcomp_res_data (void *rcomp_ptr)
 
void mainboard_fill_rcomp_strength_data (void *rcomp_strength_ptr)
 
uintptr_t mainboard_get_spd_data (void)
 
int mainboard_has_dual_channel_mem (void)
 

Function Documentation

◆ mainboard_fill_dq_map_data()

void mainboard_fill_dq_map_data ( void dq_map_ch0,
void dq_map_ch1 
)

Definition at line 9 of file spd_util.c.

References dq_map, and memcpy().

Here is the call graph for this function:

◆ mainboard_fill_dqs_map_data()

void mainboard_fill_dqs_map_data ( void dqs_map_ch0,
void dqs_map_ch1 
)

Definition at line 21 of file spd_util.c.

References dqs_map, and memcpy().

Here is the call graph for this function:

◆ mainboard_fill_rcomp_res_data()

void mainboard_fill_rcomp_res_data ( void rcomp_ptr)

Definition at line 31 of file spd_util.c.

References memcpy().

Here is the call graph for this function:

◆ mainboard_fill_rcomp_strength_data()

void mainboard_fill_rcomp_strength_data ( void rcomp_strength_ptr)

Definition at line 39 of file spd_util.c.

References get_spd_index(), K4E6E304EE_MEM_ID, and memcpy().

Here is the call graph for this function:

◆ mainboard_get_spd_data()

uintptr_t mainboard_get_spd_data ( void  )

Definition at line 61 of file spd_util.c.

References BIOS_ERR, BIOS_INFO, cbfs_map(), die(), get_spd_index(), printk, spd_index, and SPD_LEN.

Here is the call graph for this function:

◆ mainboard_has_dual_channel_mem()

int mainboard_has_dual_channel_mem ( void  )

Definition at line 89 of file spd_util.c.

References BIOS_INFO, get_spd_index(), HYNIX_SINGLE_CHAN, MIC_SINGLE_CHAN, printk, SAMSUNG_SINGLE_CHAN, and spd_index.

Referenced by mainboard_memory_init_params().

Here is the call graph for this function:
Here is the caller graph for this function: