mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / asurada / bootblock.c
blob647555a3391af1e4623b9efd975efc3880acf93e
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <soc/spi.h>
6 #include "gpio.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);