1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #include <baseboard/gpio.h>
3 #include <baseboard/variants.h>
6 /* GPIO configuration in ramstage */
7 static const struct soc_amd_gpio override_gpio_table
[] = {
8 /* SOC_PEN_DETECT_ODL => Unused */
10 /* EN_PWR_FP => Unused */
12 /* EN_PWR_WWAN_X => Unused */
14 /* SOC_FP_INT_L => Unused */
16 /* SD_AUX_RST_SOC_L => Unused */
18 /* WWAN_RST_L => Unused */
22 void variant_override_gpio_table(const struct soc_amd_gpio
**gpio
, size_t *size
)
24 *size
= ARRAY_SIZE(override_gpio_table
);
25 *gpio
= override_gpio_table
;