summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/birman_plus/bootblock.c
blob: 1c47e6d890cc0d481f5154f9f1bb7674b7c0153e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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)
{
	if (!CONFIG(SOC_AMD_COMMON_BLOCK_SIMNOW_BUILD))
		birman_ec_init();
}