summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rauru/bootblock.c
blob: 578ec7558a0b4b85a07a61cb2fd66ba6df16dfbf (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 <bootblock_common.h>
#include <soc/spi.h>

#include "gpio.h"

static void usb3_hub_reset(void)
{
	gpio_output(GPIO(USB_RST), 1);
}

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