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 dependency graph for romstage_fsp_params.c:

Go to the source code of this file.

Macros

#define SPD_ID_MASK   0x7
 

Functions

static size_t get_spd_index (void)
 
static void configure_external_clksrc (FSP_M_CONFIG *m_cfg)
 
void mainboard_memory_init_params (FSPM_UPD *memupd)
 

Macro Definition Documentation

◆ SPD_ID_MASK

#define SPD_ID_MASK   0x7

Definition at line 12 of file romstage_fsp_params.c.

Function Documentation

◆ configure_external_clksrc()

static void configure_external_clksrc ( FSP_M_CONFIG m_cfg)
static

Definition at line 39 of file romstage_fsp_params.c.

Referenced by mainboard_memory_init_params().

Here is the caller graph for this function:

◆ get_spd_index()

static size_t get_spd_index ( void  )
static

Definition at line 14 of file romstage_fsp_params.c.

References BIOS_INFO, board_id(), get_board_id(), printk, SPD_ID_MASK, 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:

◆ mainboard_memory_init_params()