| 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <baseboard/gpio.h> |
| 4 | #include <baseboard/variants.h> |
| 5 | #include <fw_config.h> |
| 6 | #include <ec/google/chromeec/ec.h> |
| 7 | |
| 8 | /* Pad configuration in ramstage */ |
| 9 | static const struct pad_config gpio_table[] = { |
| 10 | /* C12 : AP_PEN_DET_ODL has an external pull-up and hence no pad termination.*/ |
| 11 | PAD_CFG_GPI_GPIO_DRIVER(GPP_C12, NONE, DEEP), |
| 12 | }; |
| 13 | |
| 14 | const struct pad_config *variant_override_gpio_table(size_t *num) |
| 15 | { |
| 16 | *num = ARRAY_SIZE(gpio_table); |
| 17 | return gpio_table; |
| 18 | } |