summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/cannonlake/romstage/pch.c
blob: 7b9972bcc0e7875b2cc450211791c002f1b6ba3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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();
}