summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/tco.h
blob: 5bf386f1c28641f8bd4c5691585f630f27c9d835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef SOUTHBRIDGE_INTEL_COMMON_TCO_H
#define SOUTHBRIDGE_INTEL_COMMON_TCO_H

#if CONFIG(TCO_SPACE_NOT_YET_SPLIT)
/* Could get conflicting values. */
#undef TCO1_STS
#undef TCO2_STS
#undef TCO1_CNT
#endif

#define PMBASE_TCO_OFFSET	0x60

#define TCO1_STS		0x04
#define  TCO_TIMEOUT		(1 << 3)
#define TCO2_STS		0x06
#define  TCO2_STS_SECOND_TO	(1 << 1)
#define TCO1_CNT		0x08
#define  TCO_TMR_HLT		(1 << 11)

#endif /* SOUTHBRIDGE_INTEL_COMMON_TCO_H */