| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <baseboard/gpio.h> |
| 4 | #include <baseboard/variants.h> |
| 5 | #include <commonlib/helpers.h> |
| 6 | #include <gpio.h> |
| 7 | |
| 8 | /* GPIO configuration in ramstage */ |
| 9 | static const struct soc_amd_gpio override_gpio_table[] = { |
| 10 | /* SOC_SAR_INT_L => Unused */ |
| 11 | PAD_NC(GPIO_17), |
| 12 | /* WWAN_RST_L => Unused */ |
| 13 | PAD_NC(GPIO_42), |
| 14 | }; |
| 15 | |
| 16 | void variant_override_gpio_table(const struct soc_amd_gpio **gpio, size_t *size) |
| 17 | { |
| 18 | *size = ARRAY_SIZE(override_gpio_table); |
| 19 | *gpio = override_gpio_table; |
| 20 | } |