coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c File Reference
Include dependency graph for early_init.c:

Go to the source code of this file.

Functions

void mainboard_late_rcba_config (void)
 
static void early_ec_init (void)
 
void mainboard_get_spd (spd_raw_data *spd, bool id_only)
 
void mainboard_fill_pei_data (struct pei_data *pei_data)
 
void mainboard_early_init (int s3resume)
 
int mainboard_should_reset_usb (int s3resume)
 

Variables

const struct southbridge_usb_port mainboard_usb_ports []
 

Function Documentation

◆ early_ec_init()

static void early_ec_init ( void  )
static

Definition at line 61 of file early_init.c.

References BIOS_DEBUG, die(), EC_CMD_EXIT_BOOT_BLOCK, EC_CMD_WARM_RESET, EC_IN_RECOVERY_MODE, EC_IN_RO_MODE, ec_read(), EC_STATUS_REG, ec_write_cmd(), get_recovery_mode_switch(), and printk.

Referenced by mainboard_early_init().

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

◆ mainboard_early_init()

void mainboard_early_init ( int  s3resume)

Definition at line 139 of file early_init.c.

References early_ec_init().

Here is the call graph for this function:

◆ mainboard_fill_pei_data()

◆ mainboard_get_spd()

void mainboard_get_spd ( spd_raw_data spd,
bool  id_only 
)

Definition at line 84 of file early_init.c.

References read_spd().

Here is the call graph for this function:

◆ mainboard_late_rcba_config()

◆ mainboard_should_reset_usb()

int mainboard_should_reset_usb ( int  s3resume)

Definition at line 147 of file early_init.c.

Variable Documentation

◆ mainboard_usb_ports

const struct southbridge_usb_port mainboard_usb_ports[]
Initial value:
= {
{1, 0, 0},
{1, 0, 0},
{0, 0, 0},
{1, 0, -1},
{1, 0, -1},
{1, 0, -1},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{1, 0, 4},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{1, 0, -1},
}

Definition at line 147 of file early_init.c.