blob: 041ffcffd224e274f77101506c6b7d6881a06d94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <baseboard/variants.h>
#include <bootblock_common.h>
#include <soc/gpio.h>
static void early_config_gpio(void)
{
const struct pad_config *variant_early_table;
size_t variant_gpios;
variant_early_table = variant_early_gpio_table(&variant_gpios);
gpio_configure_pads(variant_early_table, variant_gpios);
}
void bootblock_mainboard_init(void)
{
early_config_gpio();
}
|