coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
Include dependency graph for bootblock.c:

Go to the source code of this file.

Macros

#define SERIAL_DEV   PNP_DEV(0x2e, IT8728F_SP1)
 
#define GPIO_DEV   PNP_DEV(0x2e, IT8728F_GPIO)
 
#define ENVC_DEV   PNP_DEV(0x2e, IT8728F_EC)
 

Functions

static void ite_evc_conf (pnp_devfn_t dev)
 
static void ite_gpio_conf (pnp_devfn_t dev)
 
void bootblock_mainboard_early_init (void)
 

Macro Definition Documentation

◆ ENVC_DEV

#define ENVC_DEV   PNP_DEV(0x2e, IT8728F_EC)

Definition at line 12 of file bootblock.c.

◆ GPIO_DEV

#define GPIO_DEV   PNP_DEV(0x2e, IT8728F_GPIO)

Definition at line 11 of file bootblock.c.

◆ SERIAL_DEV

#define SERIAL_DEV   PNP_DEV(0x2e, IT8728F_SP1)

Definition at line 10 of file bootblock.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 52 of file bootblock.c.

References ENVC_DEV, GPIO_DEV, ite_enable_serial(), ite_evc_conf(), ite_gpio_conf(), ite_kill_watchdog(), misc_read32(), misc_write32(), pm_write8(), and SERIAL_DEV.

Here is the call graph for this function:

◆ ite_evc_conf()

static void ite_evc_conf ( pnp_devfn_t  dev)
static

Definition at line 14 of file bootblock.c.

References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_MSC1, PNP_IDX_MSC4, PNP_IDX_MSC5, PNP_IDX_MSC6, PNP_IDX_MSC9, PNP_IDX_MSCA, PNP_IDX_MSCB, pnp_set_logical_device(), and pnp_write_config().

Referenced by bootblock_mainboard_early_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ite_gpio_conf()

static void ite_gpio_conf ( pnp_devfn_t  dev)
static

Definition at line 28 of file bootblock.c.

References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IRQ1, PNP_IDX_MSC0, PNP_IDX_MSC4, PNP_IDX_MSC8, PNP_IDX_MSC9, pnp_set_logical_device(), and pnp_write_config().

Referenced by bootblock_mainboard_early_init().

Here is the call graph for this function:
Here is the caller graph for this function: