coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ramstage.c File Reference
#include <console/console.h>
#include <soc/ramstage.h>
#include <soc/smbus.h>
#include "cpld.h"
Include dependency graph for ramstage.c:

Go to the source code of this file.

Data Structures

struct  edp_data
 

Functions

static void mainboard_configure_edp_bridge (void)
 
void mainboard_silicon_init_params (SILICON_INIT_UPD *params)
 

Variables

struct edp_data __packed
 
static const struct edp_data b101uan01_table []
 
static const struct edp_data b101uan08_table []
 

Function Documentation

◆ mainboard_configure_edp_bridge()

static void mainboard_configure_edp_bridge ( void  )
static

Definition at line 309 of file ramstage.c.

References edp_data::address, b101uan01_table, b101uan08_table, BIOS_DEBUG, BIOS_ERR, cpld_read_pcb_version(), cpld_reset_bridge(), edp_data::data, edp_data::payload_length, printk, and smbus_i2c_block_write().

Referenced by mainboard_silicon_init_params().

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 ( SILICON_INIT_UPD *  params)

Definition at line 343 of file ramstage.c.

References mainboard_configure_edp_bridge().

Here is the call graph for this function:

Variable Documentation

◆ __packed

◆ b101uan01_table

const struct edp_data b101uan01_table[]
static

Definition at line 1 of file ramstage.c.

Referenced by mainboard_configure_edp_bridge().

◆ b101uan08_table

const struct edp_data b101uan08_table[]
static

Definition at line 1 of file ramstage.c.

Referenced by mainboard_configure_edp_bridge().