summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rauru/bootblock.c
blob: b1f986369e478437367bc5c2050b8394aab1753e (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(USB_RST), 1);
}

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