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

Go to the source code of this file.

Data Structures

struct  romstage_params
 

Functions

void mainboard_memory_init_params (struct romstage_params *params, MEMORY_INIT_UPD *memory_params)
 
void mainboard_pre_raminit (struct romstage_params *params)
 
void mainboard_save_dimm_info (struct romstage_params *params)
 
void raminit (struct romstage_params *params)
 
void setup_mma (MEMORY_INIT_UPD *memory_upd)
 
void soc_after_ram_init (struct romstage_params *params)
 
void soc_display_memory_init_params (const MEMORY_INIT_UPD *old, MEMORY_INIT_UPD *new)
 
void soc_memory_init_params (struct romstage_params *params, MEMORY_INIT_UPD *upd)
 
void mainboard_after_memory_init (void)
 

Function Documentation

◆ mainboard_after_memory_init()

void mainboard_after_memory_init ( void  )

Definition at line 251 of file raminit.c.

References BIOS_DEBUG, ite_enable_serial(), LPC_DEV, PCI_DEV, pci_write_config32(), printk, SERIAL1_DEV, and UART_CONT.

Referenced by raminit().

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 ( struct romstage_params params,
MEMORY_INIT_UPD *  memory_params 
)

Definition at line 18 of file romstage.c.

References CONFIG, cpld_read_pcb_version(), die(), MEM_DDR3, MEM_LPDDR3, spd_cbfs_map(), spd_index, spd_memory_init_params(), and variant_memory_init_params().

Referenced by raminit().

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

◆ mainboard_pre_raminit()

void mainboard_pre_raminit ( struct romstage_params params)

Definition at line 133 of file romstage.c.

Referenced by cache_as_ram_stage_main(), and mainboard_romstage_entry().

Here is the caller graph for this function:

◆ mainboard_save_dimm_info()

◆ raminit()

◆ setup_mma()

void setup_mma ( MEMORY_INIT_UPD *  memory_upd)

Referenced by do_fsp_memory_init(), and raminit().

Here is the caller graph for this function:

◆ soc_after_ram_init()

void soc_after_ram_init ( struct romstage_params params)

Definition at line 87 of file romstage.c.

References BIOS_DEBUG, BUNIT_BMISC, iosf_bunit_read(), iosf_bunit_write(), printk, and value.

Referenced by cache_as_ram_stage_main().

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

◆ soc_display_memory_init_params()

void soc_display_memory_init_params ( const MEMORY_INIT_UPD *  old,
MEMORY_INIT_UPD *  new 
)

Definition at line 128 of file romstage.c.

References BIOS_SPEW, fsp_display_upd_value(), and printk.

Referenced by raminit().

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

◆ soc_memory_init_params()

void soc_memory_init_params ( struct romstage_params params,
MEMORY_INIT_UPD *  upd 
)

Definition at line 99 of file romstage.c.

References BIOS_DEBUG, BIOS_ERR, config, config_of(), LPC_DEV, LPC_FUNC, MiB, pcidev_on_root(), and printk.

Referenced by platform_fsp_memory_init_params_cb(), and raminit().

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