mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Enable watchdog on sun7i
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 3.4.111 Kernel Configuration
|
||||
# Linux/arm 3.4.112 Kernel Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||
@@ -2167,6 +2167,7 @@ CONFIG_WATCHDOG=y
|
||||
# CONFIG_DW_WATCHDOG is not set
|
||||
# CONFIG_MPCORE_WATCHDOG is not set
|
||||
# CONFIG_MAX63XX_WATCHDOG is not set
|
||||
CONFIG_SUNXI_WDT=m
|
||||
|
||||
#
|
||||
# USB-based Watchdog Cards
|
||||
|
||||
17
patch/kernel/sun7i-default/enable_watchdog_a20.patch
Normal file
17
patch/kernel/sun7i-default/enable_watchdog_a20.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
|
||||
index 13f935a..fcde8d5 100644
|
||||
--- a/drivers/watchdog/Kconfig
|
||||
+++ b/drivers/watchdog/Kconfig
|
||||
@@ -351,10 +351,10 @@ config IMX2_WDT
|
||||
|
||||
config SUNXI_WDT
|
||||
tristate "Allwinner A10/A13 Watchdog"
|
||||
- depends on ARCH_SUN4I || ARCH_SUN5I
|
||||
+ depends on ARCH_SUN4I || ARCH_SUN5I || ARCH_SUN7I
|
||||
help
|
||||
This is the driver for the hardware watchdog on the Allwinner
|
||||
- A10/A13 processors.
|
||||
+ A10/A13/A20 processors.
|
||||
|
||||
If you have one of these processors and wish to have
|
||||
watchdog support enabled, say Y, otherwise say N.
|
||||
Reference in New Issue
Block a user