diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-05-16 18:29:13 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2017-05-31 14:49:54 +0200 |
commit | 17a0c14164dc0bab8b09a910c567c74bb838eab5 (patch) | |
tree | 66a1d56b4446a0c3453a30f96373c798cd36b322 /drivers/sysreset/Kconfig | |
parent | 1947a44b78f107e9f9b61b1f7762fe8b7f1501c7 (diff) | |
download | u-boot-17a0c14164dc0bab8b09a910c567c74bb838eab5.tar.gz |
dm: sysreset: add watchdog-reboot driver
Add a new sysreset driver that uses the recently added watchdog support.
It performs a full SoC reset by calling wdt_expire_now op.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sysreset/Kconfig')
-rw-r--r-- | drivers/sysreset/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig index b2f746494d..a6d48e8a66 100644 --- a/drivers/sysreset/Kconfig +++ b/drivers/sysreset/Kconfig @@ -31,4 +31,10 @@ config SYSRESET_SYSCON help Reboot support for generic SYSCON mapped register reset. +config SYSRESET_WATCHDOG + bool "Enable support for watchdog reboot driver" + select WDT + help + Reboot support for generic watchdog reset. + endmenu |