Sean Rhodes | 17441a3 | 2021-07-05 16:03:15 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <bootblock_common.h> | ||||
Elyes Haouas | 475aaf8 | 2024-06-04 10:25:56 +0200 | [diff] [blame^] | 4 | #include <gpio.h> |
Sean Rhodes | 17441a3 | 2021-07-05 16:03:15 +0100 | [diff] [blame] | 5 | #include <variants.h> |
6 | |||||
7 | void bootblock_mainboard_init(void) | ||||
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 | } |