summaryrefslogtreecommitdiff
path: root/src/mainboard/google/trogdor/bootblock.c
blob: 29aec5f917b39f66f0b015cee0247695b0874c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

#include <bootblock_common.h>
#include "board.h"
#include <soc/qupv3_spi_common.h>

void bootblock_mainboard_init(void)
{
	setup_chromeos_gpios();
	qup_spi_init(CONFIG_DRIVER_TPM_SPI_BUS, 1010 * KHz);
	qup_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS, 1010 * KHz);
}