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

Go to the source code of this file.

Functions

static void mainboard_configure_super_io (void)
 
void bootblock_mainboard_early_init (void)
 
void bootblock_mainboard_init (void)
 

Variables

static const struct pad_config gpio_table []
 

Function Documentation

◆ bootblock_mainboard_early_init()

void bootblock_mainboard_early_init ( void  )

Definition at line 72 of file bootblock.c.

References ARRAY_SIZE, gpio_configure_pads(), gpio_table, and mainboard_configure_super_io().

Here is the call graph for this function:

◆ bootblock_mainboard_init()

void bootblock_mainboard_init ( void  )

Definition at line 79 of file bootblock.c.

References ARRAY_SIZE, BIOS_DEBUG, gpio_base2_value(), gpio_get(), GPP_H10, GPP_H15, GPP_H16, GPP_H17, and printk.

Here is the call graph for this function:

◆ mainboard_configure_super_io()

static void mainboard_configure_super_io ( void  )
static

Definition at line 47 of file bootblock.c.

References PNP_DEV, pnp_enter_conf_state(), pnp_exit_conf_state(), 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:

Variable Documentation

◆ gpio_table

const struct pad_config gpio_table[]
static

Definition at line 1 of file bootblock.c.

Referenced by bootblock_mainboard_early_init().