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 mainboard_program_early_gpios (void)
 

Variables

static const struct soc_amd_gpio gpio_set_stage_reset []
 

Function Documentation

◆ mainboard_program_early_gpios()

void mainboard_program_early_gpios ( void  )

Definition at line 15 of file early_gpio.c.

References ARRAY_SIZE, gpio_configure_pads(), and gpio_set_stage_reset.

Here is the call graph for this function:

Variable Documentation

◆ gpio_set_stage_reset

const struct soc_amd_gpio gpio_set_stage_reset[]
static
Initial value:
= {
PAD_NF(GPIO_113, I2C2_SCL, PULL_NONE),
PAD_NF(GPIO_114, I2C2_SDA, PULL_NONE),
PAD_NF(GPIO_19, I2C3_SCL, PULL_NONE),
PAD_NF(GPIO_20, I2C3_SDA, PULL_NONE),
}
#define PULL_NONE
Definition: buildOpts.c:72
#define GPIO_113
Definition: gpio.h:75
#define GPIO_20
Definition: gpio.h:38
#define GPIO_19
Definition: gpio.h:37
#define GPIO_114
Definition: gpio.h:76
#define PAD_NF(pin, func, pull)
Definition: gpio_defs.h:208

Definition at line 1 of file early_gpio.c.

Referenced by mainboard_program_early_gpios().