1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
8 void bootblock_mainboard_init(void)
10 mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS
, SPI_PAD0_MASK
, 3 * MHz
, 0);
11 mtk_spi_init(CONFIG_DRIVER_TPM_SPI_BUS
, SPI_PAD0_MASK
, 1 * MHz
, 0);
12 setup_chromeos_gpios();
13 gpio_eint_configure(GPIO_H1_AP_INT
, IRQ_TYPE_EDGE_RISING
);