summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mayan/bootblock.c
blob: 4c01cc14b3202e2a3bb32ea6d8835c4d2cb9a9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#include <bootblock_common.h>
#include <soc/espi.h>
#include "ec.h"
#include "gpio.h"

void bootblock_mainboard_early_init(void)
{
	mainboard_program_early_gpios();

	espi_switch_to_spi1_pads();
}

void bootblock_mainboard_init(void)
{
	mayan_ec_init();
}