summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/waddledee/gpio.c
blob: 0905e8f217ea248deae3b339169c942853e3dcc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include <baseboard/gpio.h>
#include <baseboard/variants.h>

/* Pad configuration in ramstage*/
static const struct pad_config gpio_table[] = {
	/* E5  : AP_SUB_IO_2 */
	PAD_CFG_GPO(GPP_E5, 0, PLTRST),
};

const struct pad_config *variant_override_gpio_table(size_t *num)
{
	*num = ARRAY_SIZE(gpio_table);
	return gpio_table;
}