coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage_fsp_params.c File Reference
#include <assert.h>
#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <spd_bin.h>
#include <soc/meminit.h>
#include <baseboard/variants.h>
#include "board_id.h"
#include "spd/spd.h"
Include dependency graph for romstage_fsp_params.c:

Go to the source code of this file.

Functions

static uintptr_t mainboard_get_spd_index (void)
 
void mainboard_memory_init_params (FSPM_UPD *mupd)
 

Function Documentation

◆ mainboard_get_spd_index()

static uintptr_t mainboard_get_spd_index ( void  )
static

Definition at line 12 of file romstage_fsp_params.c.

References BIOS_INFO, BIOS_WARNING, board_id(), get_board_id(), printk, SPD_ID_HYNIX, SPD_ID_MICRON, SPD_ID_SAMSUNG, spd_index, TGL_UP3_LP4_HYNIX, TGL_UP3_LP4_MICRON, TGL_UP3_LP4_SAMSUNG, TGL_UP4_LP4_HYNIX, TGL_UP4_LP4_MICRON, and TGL_UP4_LP4_SAMSUNG.

Referenced by mainboard_memory_init_params().

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

◆ mainboard_memory_init_params()

void mainboard_memory_init_params ( FSPM_UPD *  mupd)

Definition at line 41 of file romstage_fsp_params.c.

References mainboard_get_spd_index(), mem_config, MEM_TOPO_MEMORY_DOWN, memcfg_init(), and variant_memory_params().

Here is the call graph for this function: