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 SUPERIO_BASE   0x2e
 
#define SIO_GPIO   PNP_DEV(SUPERIO_BASE, IT8728F_GPIO)
 
#define SERIAL_DEV   PNP_DEV(SUPERIO_BASE, 0x01)
 

Functions

void bootblock_mainboard_early_init (void)
 
void mainboard_get_spd (spd_raw_data *spd, bool id_only)
 

Variables

const struct southbridge_usb_port mainboard_usb_ports []
 

Macro Definition Documentation

◆ SERIAL_DEV

#define SERIAL_DEV   PNP_DEV(SUPERIO_BASE, 0x01)

Definition at line 11 of file early_init.c.

◆ SIO_GPIO

#define SIO_GPIO   PNP_DEV(SUPERIO_BASE, IT8728F_GPIO)

Definition at line 10 of file early_init.c.

◆ SUPERIO_BASE

#define SUPERIO_BASE   0x2e

Definition at line 9 of file early_init.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 13 of file early_init.c.

References IT8728F_EC, ite_enable_serial(), ite_reg_write(), SERIAL_DEV, and SIO_GPIO.

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

Definition at line 13 of file early_init.c.