coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
5 #include <gpio.h>
6 #include <soc/gpio.h>
8 
9 static const struct soc_amd_gpio bid_gpio_set_stage_ram[] = {
10  /* PEN_DETECT_ODL - Not connected */
11  PAD_NC(GPIO_4),
12  /* AGPIO_5 - NC */
13  PAD_NC(GPIO_5),
14  /* EGPIO141 - NC */
16  /* EGPIO144 - NC (etk5515 not used) */
18 };
19 
20 const struct soc_amd_gpio *variant_override_gpio_table(size_t *size)
21 {
24 }
#define ARRAY_SIZE(a)
Definition: helpers.h:12
const struct pad_config *__weak variant_override_gpio_table(size_t *num)
Definition: gpio.c:450
static const struct soc_amd_gpio bid_gpio_set_stage_ram[]
Definition: gpio.c:9
#define GPIO_5
Definition: gpio.h:26
#define GPIO_141
Definition: gpio.h:88
#define GPIO_4
Definition: gpio.h:25
#define GPIO_144
Definition: gpio.h:91
#define PAD_NC(pin)
Definition: gpio_defs.h:263