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.

Macros

#define GLOBAL_DEV   PNP_DEV(0x2e, 0)
 
#define SERIAL_DEV   PNP_DEV(0x2e, NCT6779D_SP2)
 

Functions

void bootblock_mainboard_early_init (void)
 
void mainboard_get_spd (spd_raw_data *spd, bool id_only)
 
int mainboard_should_reset_usb (int s3resume)
 
void mainboard_fill_pei_data (struct pei_data *pei_data)
 

Variables

const struct southbridge_usb_port mainboard_usb_ports []
 

Macro Definition Documentation

◆ GLOBAL_DEV

#define GLOBAL_DEV   PNP_DEV(0x2e, 0)

Definition at line 18 of file early_init.c.

◆ SERIAL_DEV

#define SERIAL_DEV   PNP_DEV(0x2e, NCT6779D_SP2)

Definition at line 19 of file early_init.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 39 of file early_init.c.

References GLOBAL_DEV, nuvoton_enable_serial(), nuvoton_pnp_enter_conf_state(), nuvoton_pnp_exit_conf_state(), pnp_set_logical_device(), and SERIAL_DEV.

Here is the call graph for this function:

◆ mainboard_fill_pei_data()

void mainboard_fill_pei_data ( struct pei_data pei_data)

◆ mainboard_get_spd()

void mainboard_get_spd ( spd_raw_data spd,
bool  id_only 
)

Definition at line 51 of file early_init.c.

References read_spd().

Here is the call graph for this function:

◆ mainboard_should_reset_usb()

int mainboard_should_reset_usb ( int  s3resume)

Definition at line 59 of file early_init.c.

Variable Documentation

◆ mainboard_usb_ports

const struct southbridge_usb_port mainboard_usb_ports[]
Initial value:
= {
{ 1, 2, 0 },
{ 1, 2, 0 },
{ 1, 2, 1 },
{ 1, 2, 1 },
{ 1, 2, 2 },
{ 1, 2, 2 },
{ 1, 2, 3 },
{ 1, 2, 3 },
{ 1, 2, 4 },
{ 1, 2, 4 },
{ 1, 2, 6 },
{ 1, 2, 5 },
{ 0, 2, 5 },
{ 0, 2, 6 }
}

Definition at line 1 of file early_init.c.