coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include "harcuvar_boardid.h"
#include "gpio.h"
#include "spd/spd.h"
#include <console/console.h>
#include <fsp/api.h>
#include <fsp/soc_binding.h>
Include dependency graph for romstage.c:

Go to the source code of this file.

Functions

void mainboard_config_gpios (void)
 
void mainboard_memory_init_params (FSPM_UPD *mupd)
 

Variables

const MEMORY_DOWN_CONFIG mMemoryDownConfig
 

Function Documentation

◆ mainboard_config_gpios()

void mainboard_config_gpios ( void  )

Definition at line 70 of file romstage.c.

References ARRAY_SIZE, BIOS_ERR, BIOS_INFO, board_id(), BoardIdHarcuvar, gpio_configure_dnv_pads(), harcuvar_gpio_table, NULL, and printk.

Referenced by mainboard_memory_init_params(), and mainboard_romstage_entry().

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 100 of file romstage.c.

References BIOS_DEBUG, CONFIG, mainboard_find_spd_data(), mMemoryDownConfig, NULL, and printk.

Here is the call graph for this function:

Variable Documentation

◆ mMemoryDownConfig

const MEMORY_DOWN_CONFIG mMemoryDownConfig
Initial value:
= {
.SlotState = {
{STATE_MEMORY_SLOT, STATE_MEMORY_SLOT},
{STATE_MEMORY_SLOT, STATE_MEMORY_SLOT}
},
.SpdDataLen = MAX_SPD_BYTES,
.SpdDataPtr = {
{(void *)NULL, (void *)NULL},
{(void *)NULL, (void *)NULL}
}
}
#define NULL
Definition: stddef.h:19

Definition at line 52 of file romstage.c.

Referenced by mainboard_memory_init_params().