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

static void hybrid_graphics_init (void)
 
void mainboard_get_spd (spd_raw_data *spd, bool id_only)
 
void mainboard_early_init (int s3resume)
 

Variables

const struct southbridge_usb_port mainboard_usb_ports []
 

Function Documentation

◆ hybrid_graphics_init()

static void hybrid_graphics_init ( void  )
static

Definition at line 10 of file early_init.c.

References DEVEN, DEVEN_IGD, DEVEN_PEG10, early_hybrid_graphics(), GGC, PCI_DEV, pci_read_config32(), pci_write_config16(), and pci_write_config32().

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

References hybrid_graphics_init().

Here is the call graph for this function:

◆ mainboard_get_spd()

void mainboard_get_spd ( spd_raw_data spd,
bool  id_only 
)

Definition at line 54 of file early_init.c.

References read_spd().

Here is the call graph for this function:

Variable Documentation

◆ mainboard_usb_ports

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

Definition at line 10 of file early_init.c.