coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
#include <amdblocks/acpimmio.h>
#include <arch/io.h>
#include <bootblock_common.h>
#include <device/pnp_ops.h>
#include <superio/ite/common/ite.h>
#include <superio/ite/it8623e/it8623e.h>
Include dependency graph for bootblock.c:

Go to the source code of this file.

Macros

#define SERIAL_DEV   PNP_DEV(0x2e, IT8623E_SP1)
 
#define GPIO_DEV   PNP_DEV(0x2e, IT8623E_GPIO)
 
#define CLKIN_DEV   PNP_DEV(0x2e, IT8623E_GPIO)
 
#define ENVC_DEV   PNP_DEV(0x2e, IT8623E_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

◆ CLKIN_DEV

#define CLKIN_DEV   PNP_DEV(0x2e, IT8623E_GPIO)

Definition at line 19 of file bootblock.c.

◆ ENVC_DEV

#define ENVC_DEV   PNP_DEV(0x2e, IT8623E_EC)

Definition at line 20 of file bootblock.c.

◆ GPIO_DEV

#define GPIO_DEV   PNP_DEV(0x2e, IT8623E_GPIO)

Definition at line 18 of file bootblock.c.

◆ SERIAL_DEV

#define SERIAL_DEV   PNP_DEV(0x2e, IT8623E_SP1)

Definition at line 11 of file bootblock.c.

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

◆ ite_evc_conf()

static void ite_evc_conf ( pnp_devfn_t  dev)
static

Definition at line 23 of file bootblock.c.

References ite_reg_write(), and pnp_set_enable().

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 44 of file bootblock.c.

References ite_reg_write().

Referenced by bootblock_mainboard_early_init().

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