1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
12 static void usb3_hub_reset(void)
14 gpio_output(GPIO(USB_RST
), 1);
17 void bootblock_mainboard_init(void)
22 mtk_i2c_bus_init(CONFIG_DRIVER_TPM_I2C_BUS
, I2C_SPEED_FAST_PLUS
);
23 mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS
, SPI_PAD0_MASK
, 3 * MHz
, 0);
26 setup_chromeos_gpios();
27 gpio_eint_configure(GPIO_GSC_AP_INT_ODL
, IRQ_TYPE_EDGE_RISING
);