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

Go to the source code of this file.

Functions

void mainboard_program_gpios (void)
 

Variables

static const struct soc_amd_gpio gpio_set_stage_ram []
 

Function Documentation

◆ mainboard_program_gpios()

void mainboard_program_gpios ( void  )

Definition at line 24 of file gpio.c.

References ARRAY_SIZE, gpio_configure_pads(), and gpio_set_stage_ram.

Referenced by mainboard_init().

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

Variable Documentation

◆ gpio_set_stage_ram

const struct soc_amd_gpio gpio_set_stage_ram[]
static
Initial value:
= {
PAD_NF(GPIO_7, ACP_I2S_SDIN, PULL_NONE),
PAD_NF(GPIO_8, ACP_I2S_LRCLK, PULL_NONE),
PAD_SCI(GPIO_24, PULL_UP, EDGE_LOW),
PAD_INT(GPIO_69, PULL_UP, EDGE_LOW, STATUS),
}
#define GPIO_11
Definition: gpio_ftns.h:13
#define PULL_UP
Definition: buildOpts.c:70
#define PULL_NONE
Definition: buildOpts.c:72
#define GPIO_7
Definition: gpio.h:28
#define GPIO_69
Definition: gpio.h:55
#define GPIO_8
Definition: gpio.h:29
#define GPIO_24
Definition: gpio.h:42
#define PAD_SCI(pin, pull, trigger)
Definition: gpio_defs.h:229
#define PAD_NF(pin, func, pull)
Definition: gpio_defs.h:208
#define PAD_INT(pin, pull, trigger, action)
Definition: gpio_defs.h:224
#define PAD_GPI(pin, pull)
Definition: gpio_defs.h:216

Definition at line 1 of file gpio.c.

Referenced by mainboard_program_gpios().