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   0x2e
 
#define SIO_DEV   PNP_DEV(SIO_PORT, 0)
 
#define ACPI_DEV   PNP_DEV(SIO_PORT, NCT6779D_ACPI)
 

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

◆ ACPI_DEV

#define ACPI_DEV   PNP_DEV(SIO_PORT, NCT6779D_ACPI)

Definition at line 12 of file early_init.c.

◆ SIO_DEV

#define SIO_DEV   PNP_DEV(SIO_PORT, 0)

Definition at line 11 of file early_init.c.

◆ SIO_PORT

#define SIO_PORT   0x2e

Definition at line 10 of file early_init.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 31 of file early_init.c.

References ACPI_DEV, nuvoton_pnp_enter_conf_state(), nuvoton_pnp_exit_conf_state(), pnp_set_logical_device(), pnp_write_config(), and SIO_DEV.

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

Definition at line 1 of file early_init.c.