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
6
/* Pad configuration in ramstage */
7
static
const
struct
pad_config
gpio_table
[] = {
8
/* E5 : AP_SUB_IO_2 */
9
PAD_CFG_GPO
(
GPP_E5
, 0, PLTRST),
10
};
11
12
const
struct
pad_config
*
variant_override_gpio_table
(
size_t
*num)
13
{
14
*num =
ARRAY_SIZE
(
gpio_table
);
15
return
gpio_table
;
16
}
GPP_E5
#define GPP_E5
Definition:
gpio_soc_defs.h:633
ARRAY_SIZE
#define ARRAY_SIZE(a)
Definition:
helpers.h:12
variant_override_gpio_table
const struct pad_config *__weak variant_override_gpio_table(size_t *num)
Definition:
gpio.c:450
gpio_table
static const struct pad_config gpio_table[]
Definition:
gpio.c:7
PAD_CFG_GPO
#define PAD_CFG_GPO(pad, val, rst)
Definition:
gpio_defs.h:247
pad_config
Definition:
gpio.h:75
src
mainboard
google
dedede
variants
waddledee
gpio.c
Generated by
1.9.1