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

Go to the source code of this file.

Functions

void variant_configure_early_gpios (void)
 

Variables

static const struct pad_config early_gpio_table []
 

Function Documentation

◆ variant_configure_early_gpios()

void variant_configure_early_gpios ( void  )

Definition at line 18 of file gpio_early.c.

References ARRAY_SIZE, early_gpio_table, and gpio_configure_pads().

Here is the call graph for this function:

Variable Documentation

◆ early_gpio_table

const struct pad_config early_gpio_table[]
static
Initial value:
= {
PAD_CFG_GPO(GPP_C14, 1, RSMRST),
PAD_CFG_GPO(GPP_C15, 1, RSMRST),
PAD_CFG_GPO(GPP_F0, 1, RSMRST),
PAD_CFG_GPO(GPP_F22, 0, DEEP),
PAD_CFG_GPO(GPP_F23, 0, DEEP),
PAD_CFG_GPO(GPP_H16, 1, RSMRST),
PAD_CFG_GPO(GPP_K8, 1, RSMRST),
PAD_CFG_GPO(GPP_K9, 1, RSMRST),
PAD_CFG_GPO(GPP_K11, 1, RSMRST),
}
#define GPP_C15
#define GPP_H16
#define GPP_F23
#define GPP_F0
#define GPP_C14
#define GPP_F22
#define GPP_K9
#define GPP_K11
#define GPP_K8
#define PAD_CFG_GPO(pad, val, rst)
Definition: gpio_defs.h:247

Definition at line 1 of file gpio_early.c.

Referenced by variant_configure_early_gpios().