summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/bootblock.c
blob: 102b9b0adf565ce3aefbc971c26dbb81c44e78ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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();
}