summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/skylake/romstage/pch.c
blob: c85bdd667fbe2a29dc38b849f0636a4c20c3aee0 (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 romstage_pch_init(void)
{
	/* Program TCO_BASE_ADDRESS and TCO Timer Halt */
	tco_configure();

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