Angel Pons | 60ec365 | 2020-04-03 01:22:13 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 2 | |
| 3 | #include <baseboard/variants.h> |
| 4 | #include <bootblock_common.h> |
Elyes Haouas | 97ee153 | 2024-06-04 10:27:13 +0200 | [diff] [blame^] | 5 | #include <gpio.h> |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 6 | |
Michael Niewöhner | 58a3f76 | 2020-12-21 03:46:58 +0100 | [diff] [blame] | 7 | void bootblock_mainboard_early_init(void) |
Maulik V Vaghela | dfc9917 | 2018-08-07 12:06:23 +0530 | [diff] [blame] | 8 | { |
| 9 | const struct pad_config *pads; |
| 10 | size_t num; |
| 11 | |
| 12 | pads = variant_early_gpio_table(&num); |
| 13 | gpio_configure_pads(pads, num); |
| 14 | } |