summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-04-16 08:24:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-05-03 14:07:21 +0200
commit263d3c2105edec00e1e3e67770eb0a870567dbc4 (patch)
tree434e93307b0eb357e1e5833128bdfeab1e971556 /arch/x86
parentffdb6a435e7ed5576f37d6cea14157d6ce51e16b (diff)
downloadbarebox-263d3c2105edec00e1e3e67770eb0a870567dbc4.tar.gz
barebox-263d3c2105edec00e1e3e67770eb0a870567dbc4.tar.xz
watchdog: add support for Intel TCO watchdog timer
Variants of the iTCO are integrated into many Intel southbridges. They are most often accessed via PCI. Add a driver for the variant found in the q35 QEMU machine. It should be straight forward to extend the itco_chipset_info array to support more variants in future as the need arises. To test, use: qemu-system-x86_64 -M q35 -global ICH9-LPC.noreboot=false The last option corresponds to a pin strap option, which can't be influenced from within the VM. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.barebox.org/20210416062436.332665-5-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/configs/efi_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/configs/efi_defconfig b/arch/x86/configs/efi_defconfig
index e007bf8a01..73614dd4b4 100644
--- a/arch/x86/configs/efi_defconfig
+++ b/arch/x86/configs/efi_defconfig
@@ -87,6 +87,7 @@ CONFIG_STATE_DRV=y
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_EFI=y
CONFIG_F71808E_WDT=y
+CONFIG_ITCO_WDT=y
# CONFIG_PINCTRL is not set
CONFIG_PCI_EFI=y
CONFIG_FS_EXT4=y