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 bootblock_mainboard_early_init (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

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 33 of file early_init.c.

References PNP_DEV, pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_EN, PNP_IDX_MSC3, pnp_set_logical_device(), and pnp_write_config().

Here is the call graph for this function:

◆ mainboard_early_init()

void mainboard_early_init ( int  s3resume)

Definition at line 132 of file early_init.c.

References DEVEN, DEVEN_PEG10, PCI_DEV, pci_read_config32(), and pci_write_config32().

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

References read_spd().

Here is the call graph for this function:

◆ mainboard_pch_lpc_setup()

void mainboard_pch_lpc_setup ( void  )

Definition at line 17 of file early_init.c.

References CNF1_LPC_EN, COMA_LPC_EN, COMB_LPC_EN, GAMEH_LPC_EN, KBC_LPC_EN, LPC_EN, LPC_IO_DEC, MC_LPC_EN, PCH_LPC_DEV, and pci_write_config16().

Here is the call graph for this function:

◆ mainboard_should_reset_usb()

int mainboard_should_reset_usb ( int  s3resume)

Definition at line 140 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 },
{ 1, 0, 0 },
{ 1, 0, 0 },
{ 1, 0, 0 },
{ 1, 0, 0 },
{ 1, 0, 0 },
{ 1, 0, 0 },
{ 1, 0, 4 },
{ 1, 0, 4 },
{ 1, 0, 4 },
{ 1, 0, 4 },
{ 1, 0, 4 },
{ 1, 0, 4 },
}

Definition at line 56 of file early_init.c.