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

Go to the source code of this file.

Functions

void configure_early_gpio_pads (void)
 

Variables

static const struct pad_config early_gpio_table []
 

Function Documentation

◆ configure_early_gpio_pads()

void configure_early_gpio_pads ( void  )

Definition at line 33 of file early_gpio.c.

References ARRAY_SIZE, early_gpio_table, and gpio_configure_pads().

Referenced by bootblock_mainboard_early_init().

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

Variable Documentation

◆ early_gpio_table

const struct pad_config early_gpio_table[]
static
Initial value:
= {
PAD_CFG_NF(GPP_C0, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_C1, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_H10, NONE, DEEP, NF2),
PAD_CFG_NF(GPP_H11, NONE, DEEP, NF2),
PAD_CFG_NF(GPP_D17, NONE, DEEP, NF1),
PAD_CFG_NF(GPP_D18, NONE, DEEP, NF1),
}
#define GPP_H19
#define GPP_D17
#define GPP_H11
#define GPP_E7
#define GPP_D18
#define GPP_A8
#define GPP_C1
#define GPP_H10
#define GPP_C0
#define GPP_F19
#define GPP_H23
#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

Definition at line 1 of file early_gpio.c.

Referenced by configure_early_gpio_pads().