coreboot/src
Werner Zeh 0099832cda 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>
2022-01-25 16:15:30 +00:00
..
acpi src: Remove unused <stdbool> 2022-01-19 15:15:50 +00:00
arch arch/riscv: Fix some SMP related headers 2022-01-19 19:29:42 +00:00
commonlib commonlib: Add new "CSME ROM started execution" TS 2022-01-21 22:43:30 +00:00
console lib/cbmem_console,console: Resurrect CONSOLE_CBMEM_DUMP_TO_UART 2022-01-25 16:13:39 +00:00
cpu cpu/x86/mp_init.c: Make it work for !CONFIG_SMP 2021-12-10 15:57:34 +00:00
device device: constify pciexp_find_extended_cap() 2022-01-24 17:28:39 +00:00
drivers drivers/intel/fsp2_0: Make FSP Notify Phase APIs optional 2022-01-25 16:13:04 +00:00
ec ec/google/chromeec: Add checks before creating Type C device 2022-01-25 03:52:00 +00:00
include soc/intel/common: Include Alder Lake-N device IDs 2022-01-25 16:10:46 +00:00
lib lib/cbmem_console,console: Resurrect CONSOLE_CBMEM_DUMP_TO_UART 2022-01-25 16:13:39 +00:00
mainboard soc/intel/adl: Replace dt HeciEnabled by HECI1 disable config 2022-01-25 16:12:33 +00:00
northbridge northbridge/intel/i945: Change types to uintptr_t where appropriate 2022-01-25 16:14:23 +00:00
security console/cbmem_console: Rename cbmem_dump_console 2022-01-13 15:25:43 +00:00
soc soc/intel/ehl: Add Kconfig option to disable reset on TCO expiration 2022-01-25 16:15:30 +00:00
southbridge sb/intel/common/firmware: Reword me_cleaner warning 2022-01-17 17:14:20 +00:00
superio superio/smsc/sch5545/superio.c: Include stdint.h and bsd/helpers.h 2022-01-10 23:28:32 +00:00
vendorcode vc/amd/fsp/sabrina: add as a copy of vc/amd/fsp/cezanne 2022-01-25 03:16:52 +00:00
Kconfig Kconfig: Show console DEBUG_FUNC if OVERRIDE_LOGLEVEL is set 2021-11-13 00:20:11 +00:00