summaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/bootblock.c
blob: 73b0f8a8dc1f64228883be846169b13daf4e6d8e (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 <bootblock_common.h>
#include <gpio.h>
#include <soc/spi.h>

#include "gpio.h"

static void usb3_hub_reset(void)
{
	gpio_output(GPIO_USB3_HUB_RST_L, 1);
}

void bootblock_mainboard_init(void)
{
	mtk_snfc_init();
	setup_chromeos_gpios();
	usb3_hub_reset();
}