coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ramstage.c File Reference
#include <baseboard/variants.h>
#include <ec/ec.h>
#include <soc/gpio.h>
#include <soc/ramstage.h>
#include <variant/gpio.h>
Include dependency graph for ramstage.c:

Go to the source code of this file.

Functions

void mainboard_silicon_init_params (FSPS_UPD *supd)
 
void __weak variant_devtree_update (void)
 
void __weak variant_ramstage_init (void)
 
void __weak variant_mainboard_enable (struct device *dev)
 
static void mainboard_init (struct device *dev)
 
static void mainboard_enable (struct device *dev)
 
static void mainboard_chip_init (void *chip_info)
 

Variables

struct chip_operations mainboard_ops
 

Function Documentation

◆ mainboard_chip_init()

static void mainboard_chip_init ( void chip_info)
static

Definition at line 40 of file ramstage.c.

References base_gpio_table, gpio_configure_pads_with_override(), override_gpio_table, and variant_ramstage_init().

Here is the call graph for this function:

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

Definition at line 34 of file ramstage.c.

References device_operations::init, mainboard_init(), device::ops, and variant_mainboard_enable().

Here is the call graph for this function:

◆ mainboard_init()

static void mainboard_init ( struct device dev)
static

Definition at line 29 of file ramstage.c.

References mainboard_ec_init().

Referenced by mainboard_enable().

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

◆ mainboard_silicon_init_params()

void mainboard_silicon_init_params ( FSPS_UPD *  supd)

Definition at line 9 of file ramstage.c.

References variant_devtree_update().

Here is the call graph for this function:

◆ variant_devtree_update()

void __weak variant_devtree_update ( void  )

Definition at line 14 of file ramstage.c.

◆ variant_mainboard_enable()

void __weak variant_mainboard_enable ( struct device dev)

Definition at line 24 of file ramstage.c.

Referenced by mainboard_enable().

Here is the caller graph for this function:

◆ variant_ramstage_init()

void __weak variant_ramstage_init ( void  )

Definition at line 19 of file ramstage.c.

Referenced by mainboard_chip_init().

Here is the caller graph for this function:

Variable Documentation

◆ mainboard_ops

struct chip_operations mainboard_ops
Initial value:
= {
.enable_dev = mainboard_enable,
}
static void mainboard_chip_init(void *chip_info)
Definition: ramstage.c:40
static void mainboard_enable(struct device *dev)
Definition: ramstage.c:34

Definition at line 40 of file ramstage.c.