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

Go to the source code of this file.

Functions

const struct soc_amd_gpiovariant_override_gpio_table (size_t *size)
 

Variables

static const struct soc_amd_gpio woomax_bid0_gpio_set_stage_ram []
 
static const struct soc_amd_gpio woomax_gpio_set_stage_ram []
 

Function Documentation

◆ variant_override_gpio_table()

const struct soc_amd_gpio* variant_override_gpio_table ( size_t size)

Definition at line 50 of file gpio.c.

References ARRAY_SIZE, google_chromeec_cbi_get_board_version(), woomax_bid0_gpio_set_stage_ram, and woomax_gpio_set_stage_ram.

Here is the call graph for this function:

Variable Documentation

◆ woomax_bid0_gpio_set_stage_ram

const struct soc_amd_gpio woomax_bid0_gpio_set_stage_ram[]
static
Initial value:
= {
PAD_GPO(GPIO_89, HIGH),
PAD_GPO(GPIO_140, HIGH),
}
#define GPIO_90
Definition: gpio.h:66
#define GPIO_143
Definition: gpio.h:90
#define GPIO_89
Definition: gpio.h:65
#define GPIO_69
Definition: gpio.h:55
#define GPIO_5
Definition: gpio.h:26
#define GPIO_84
Definition: gpio.h:60
#define GPIO_141
Definition: gpio.h:88
#define GPIO_4
Definition: gpio.h:25
#define GPIO_140
Definition: gpio.h:87
#define GPIO_6
Definition: gpio.h:27
#define PAD_NC(pin)
Definition: gpio_defs.h:263
#define PAD_GPO(pin, direction)
Definition: gpio_defs.h:220

Definition at line 1 of file gpio.c.

Referenced by variant_override_gpio_table().

◆ woomax_gpio_set_stage_ram

const struct soc_amd_gpio woomax_gpio_set_stage_ram[]
static
Initial value:

Definition at line 1 of file gpio.c.

Referenced by variant_override_gpio_table().