coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spd_util.h File Reference
#include <fsp/soc_binding.h>
Include dependency graph for spd_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t get_ramid (void)
 
int get_variant_spd_index (int ram_id, int *dual)
 
void spd_memory_init_params (MEMORY_INIT_UPD *memory_params)
 

Function Documentation

◆ get_ramid()

uint8_t get_ramid ( void  )

Definition at line 17 of file spd.c.

References ARRAY_SIZE, GP_SE_02, GP_SW_64, GP_SW_67, GP_SW_80, and gpio_base2_value().

Referenced by get_spd_pointer(), and variant_memory_init_params().

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

◆ get_variant_spd_index()

int get_variant_spd_index ( int  ram_id,
int *  dual 
)

Definition at line 21 of file spd_util.c.

References BIOS_DEBUG, dual_channel_config, printk, and spd_index.

Referenced by get_spd_pointer().

Here is the caller graph for this function:

◆ spd_memory_init_params()

void spd_memory_init_params ( MEMORY_INIT_UPD *  memory_params)

Definition at line 59 of file spd.c.

References BIOS_DEBUG, CONFIG, get_spd_pointer(), hexdump(), MEM_DDR3, MEM_LPDDR3, NULL, printk, and SPD_PAGE_LEN.

Referenced by mainboard_memory_init_params().

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