diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2022-07-01 16:17:37 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2022-07-01 16:26:51 +0300 |
commit | 04071cb111f290417074de130d34ae5895fd3a7b (patch) | |
tree | 81b47d24ba3ab17023c2cf83bdca987d3348317a /target/linux/qoriq | |
parent | e9f9cd14cc71826957877999fd063dd080de4751 (diff) | |
download | upstream-04071cb111f290417074de130d34ae5895fd3a7b.tar.gz upstream-04071cb111f290417074de130d34ae5895fd3a7b.tar.bz2 upstream-04071cb111f290417074de130d34ae5895fd3a7b.zip |
qoriq: enable Book-E Watchdog Timer
Enable PowerPC Book-E Watchdog Timer support. Having this enabled
in-kernel will result in procd starting it during boot.
This effectively solves the problem of the WDT in the Winbond W83793 chip
potentially resetting the system during sysupgrade, which could result
in an unbootable device. While the driver is modular, resulting in procd
not starting the WDT during boot (because that happens before kmod
load), the WDT handover during sysupgrade results in the WDT being
started. This normally shouldn't be a problem, but the W83793 WDT does
not like procd's defaults, nor the handover happening during sysupgrade.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/qoriq')
-rw-r--r-- | target/linux/qoriq/config-5.10 | 2 | ||||
-rw-r--r-- | target/linux/qoriq/config-5.15 | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/qoriq/config-5.10 b/target/linux/qoriq/config-5.10 index 835a90470a..3b53cb3ebc 100644 --- a/target/linux/qoriq/config-5.10 +++ b/target/linux/qoriq/config-5.10 @@ -23,6 +23,7 @@ CONFIG_BLK_MQ_PCI=y CONFIG_BLK_PM=y CONFIG_BLK_SCSI_REQUEST=y CONFIG_BOOKE=y +CONFIG_BOOKE_WDT=y CONFIG_CLKDEV_LOOKUP=y CONFIG_CLK_QORIQ=y CONFIG_CLONE_BACKWARDS=y @@ -380,6 +381,7 @@ CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y CONFIG_VT=y CONFIG_VT_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_WATCHDOG_CORE=y # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set CONFIG_XPS=y CONFIG_ZLIB_DEFLATE=y diff --git a/target/linux/qoriq/config-5.15 b/target/linux/qoriq/config-5.15 index 258ac11aa2..7d5e410ee1 100644 --- a/target/linux/qoriq/config-5.15 +++ b/target/linux/qoriq/config-5.15 @@ -23,6 +23,7 @@ CONFIG_BLK_DEV_SD=y CONFIG_BLK_MQ_PCI=y CONFIG_BLK_PM=y CONFIG_BOOKE=y +CONFIG_BOOKE_WDT=y CONFIG_CLK_QORIQ=y CONFIG_CLONE_BACKWARDS=y CONFIG_CLZ_TAB=y @@ -397,6 +398,7 @@ CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y CONFIG_VT=y CONFIG_VT_CONSOLE=y # CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_WATCHDOG_CORE=y # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set CONFIG_XPS=y CONFIG_ZLIB_DEFLATE=y |