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_pch_lpc_setup (void)
 
void mainboard_late_rcba_config (void)
 
static uint8_tlocate_spd (void)
 
void mainboard_fill_pei_data (struct pei_data *pei_data)
 
void mainboard_get_spd (spd_raw_data *spd, bool id_only)
 
void mainboard_early_init (int s3resume)
 
int mainboard_should_reset_usb (int s3resume)
 

Variables

const struct southbridge_usb_port mainboard_usb_ports []
 

Function Documentation

◆ locate_spd()

static uint8_t* locate_spd ( void  )
static

Definition at line 61 of file early_init.c.

References BIOS_DEBUG, BIOS_ERR, cbfs_map(), die(), get_gpios(), printk, and spd_index.

Referenced by mainboard_fill_pei_data(), and mainboard_get_spd().

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 160 of file early_init.c.

References google_chromeec_kbbacklight().

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 152 of file early_init.c.

References locate_spd(), and memcpy().

Here is the call graph for this function:

◆ mainboard_late_rcba_config()

◆ mainboard_pch_lpc_setup()

void mainboard_pch_lpc_setup ( void  )

Definition at line 18 of file early_init.c.

References GAMEL_LPC_EN, LPC_EN, PCH_LPC_DEV, and pci_or_config16().

Here is the call graph for this function:

◆ mainboard_should_reset_usb()

int mainboard_should_reset_usb ( int  s3resume)

Definition at line 170 of file early_init.c.

Variable Documentation

◆ mainboard_usb_ports

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

Definition at line 84 of file early_init.c.