summaryrefslogtreecommitdiff
path: root/src/drivers/crb/chip.h
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2022-01-18 12:31:08 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-25 16:15:30 +0000
commit0099832cdab2337da5d3efc92fdd9b7a4f645cc1 (patch)
tree8091ab705e184415a9544167904a37a1027a0787 /src/drivers/crb/chip.h
parent964055d74f6db71607e8fc36ca352fde05f4b6ee (diff)
soc/intel/ehl: Add Kconfig option to disable reset on TCO expiration
The TCO timer is the default watchdog of an x86 host and can reset the system once it has expired for the second time. There are applications where this reset is not acceptable while the TCO is used. In these applications the TCO expire event generates an interrupt and software takes care. There is a bit in the TCO1_CNT register on Elkhart Lake to prevent this reset on expiration (called NO_REBOOT, see doc #636722 ). This bit can either be strapped on hardware or set in this register to avoid the reset on expiration. While the hardware strap cannot be overridden in software, the pure software solution is more flexible. Unfortunately, the location for this bit differs among the different platforms. This is why it has to be handled on soc level rather than on TCO common code level. This commit adds a Kconfig option where NO_REBOOT can be enabled. This makes it easy to reach this feature over to the mainboard where it can be selected if needed. Change-Id: Iaa81bfbe688edd717aa02db86f0a93fecdfcd16b Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61177 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers/crb/chip.h')
0 files changed, 0 insertions, 0 deletions