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 SIO_PORT   0x164e
 

Functions

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)
 
int mainboard_should_reset_usb (int s3resume)
 

Variables

const struct southbridge_usb_port mainboard_usb_ports []
 

Macro Definition Documentation

◆ SIO_PORT

#define SIO_PORT   0x164e

Definition at line 14 of file early_init.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 16 of file early_init.c.

References inb(), outb(), sio1007_enable_uart_at(), sio1007_setreg(), and SIO_PORT.

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 111 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 117 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, 1 },
{ 1, 0, -1 },
{ 1, 0, -1 },
{ 1, 0, 2 },
{ 0, 0, -1 },
{ 0, 0, -1 },
{ 0, 0, -1 },
{ 1, 0, 4 },
{ 1, 0, -1 },
{ 1, 0, -1 },
{ 0, 0, -1 },
{ 1, 0, 6 },
{ 1, 0, 5 },
}

Definition at line 51 of file early_init.c.