summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/icelake/romstage/pch.c
blob: e800ce50bdf50264d8fb1f188d69a1a599e272f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#include <intelblocks/smbus.h>
#include <intelblocks/tco.h>
#include <soc/romstage.h>

void pch_init(void)
{
	/* Programming TCO_BASE_ADDRESS and TCO Timer Halt */
	tco_configure();

	/* Program SMBUS_BASE_ADDRESS and Enable it */
	smbus_common_init();
}