Enable watchdog on sun7i

This commit is contained in:
Igor Pecovnik
2016-06-17 14:39:16 +02:00
parent 8f5f43dd44
commit b9b2617220
2 changed files with 19 additions and 1 deletions

View File

@@ -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

View 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.