coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.c File Reference
#include <variants.h>
Include dependency graph for gpio.c:

Go to the source code of this file.

Functions

const struct pad_configvariant_early_gpio_table (size_t *num)
 
const struct pad_configvariant_gpio_table (size_t *num)
 

Variables

const struct pad_config early_gpio_table []
 
const struct pad_config gpio_table []
 

Function Documentation

◆ variant_early_gpio_table()

const struct pad_config* variant_early_gpio_table ( size_t num)

Definition at line 26 of file gpio.c.

◆ variant_gpio_table()

const struct pad_config* variant_gpio_table ( size_t num)

Definition at line 410 of file gpio.c.

References ARRAY_SIZE, and gpio_table.

Variable Documentation

◆ early_gpio_table

const struct pad_config early_gpio_table[]
Initial value:
= {
PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1),
PAD_CFG_GPO(GPP_E22, 1, PLTRST),
PAD_CFG_GPO(GPP_E23, 1, PLTRST),
PAD_CFG_GPI(GPP_H6, NONE, PLTRST),
PAD_CFG_GPI(GPP_H7, NONE, PLTRST),
}
#define GPP_H6
#define GPP_H7
#define GPP_E23
#define GPP_C20
#define GPP_C21
#define GPP_E22
#define PAD_CFG_GPI(pad, pull, rst)
Definition: gpio_defs.h:284
#define PAD_CFG_NF(pad, pull, rst, func)
Definition: gpio_defs.h:197
#define PAD_CFG_GPO(pad, val, rst)
Definition: gpio_defs.h:247

Definition at line 1 of file gpio.c.

◆ gpio_table

const struct pad_config gpio_table[]

Definition at line 26 of file gpio.c.

Referenced by mainboard_configure_gpios(), variant_configure_gpios(), and variant_gpio_table().