summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/bootblock.c
blob: 5d9cf027a75cf008487c6c7b29b382c38096f0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */

#include <soc/gpio.h>
#include <console/console.h>
#include <bootblock_common.h>

#include "baseboard/variants.h"
#include "variant/gpio.h"

void bootblock_mainboard_init(void)
{
	const struct pad_config *pads;
	size_t num;

	pads = variant_early_gpio_table(&num);
	gpio_configure_pads(pads, num);
}