2020-04-05 13:21:41 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2018-12-10 21:59:01 +01:00
|
|
|
|
|
|
|
#include <baseboard/variants.h>
|
|
|
|
#include <bootblock_common.h>
|
|
|
|
#include <soc/gpio.h>
|
|
|
|
|
2020-12-21 03:46:58 +01:00
|
|
|
void bootblock_mainboard_early_init(void)
|
2018-12-10 21:59:01 +01:00
|
|
|
{
|
2019-08-07 23:33:04 +02:00
|
|
|
const struct pad_config *variant_early_table;
|
|
|
|
size_t variant_gpios;
|
2018-12-10 21:59:01 +01:00
|
|
|
|
2019-08-07 23:33:04 +02:00
|
|
|
variant_early_table = variant_early_gpio_table(&variant_gpios);
|
|
|
|
gpio_configure_pads(variant_early_table, variant_gpios);
|
2018-12-10 21:59:01 +01:00
|
|
|
}
|