summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/watchdog.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-25 12:12:34 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-28 10:10:26 +0000
commit28c6df73239b6c04c25fba43b072fbb92a348feb (patch)
tree6a89f52cd9508a35f66fe6baa1bff48b269f7d4e /src/southbridge/intel/common/watchdog.c
parent307320c23f2c1907ff6cf6fa87608d1155aba05f (diff)
sb/intel/common: Rename TCO timeout
Rename TCO1_TIMEOUT to TCO_TIMEOUT to match rest of the tree. Change-Id: Ib136e9b2d0006eb4ceceb298b557644760d1185c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70045 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/southbridge/intel/common/watchdog.c')
-rw-r--r--src/southbridge/intel/common/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/common/watchdog.c b/src/southbridge/intel/common/watchdog.c
index a9886916ca..e22dbfbf62 100644
--- a/src/southbridge/intel/common/watchdog.c
+++ b/src/southbridge/intel/common/watchdog.c
@@ -32,7 +32,7 @@ void watchdog_off(void)
write_pmbase16(PMBASE_TCO_OFFSET + TCO1_CNT, value);
/* Clear TCO timeout status. */
- write_pmbase16(PMBASE_TCO_OFFSET + TCO1_STS, TCO1_TIMEOUT);
+ write_pmbase16(PMBASE_TCO_OFFSET + TCO1_STS, TCO_TIMEOUT);
write_pmbase16(PMBASE_TCO_OFFSET + TCO2_STS, TCO2_STS_SECOND_TO);
printk(BIOS_DEBUG, "ICH-NM10-PCH: watchdog disabled\n");