diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2020-04-21 10:28:29 +0300 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-04-27 21:29:33 +0300 |
commit | caf709229419b3ae6f6748d5c575a44a1bf30c14 (patch) | |
tree | 9495962d5cdb0f925fd9fd805a3b4bd4eefd73f4 /drivers/sysreset/Kconfig | |
parent | 2a9d68e41f6d67432c19dc1d140f908df0401f2c (diff) | |
download | u-boot-caf709229419b3ae6f6748d5c575a44a1bf30c14.tar.xz |
sysreset: add reset controller based reboot driver
Some chips provide their sysreset function in reset controller, which is
normally a bit written to 1 to perform the sysreset.
This patch adds a new sysreset driver to take advantage of it.
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
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 f09e138bb8..4be7433404 100644 --- a/drivers/sysreset/Kconfig +++ b/drivers/sysreset/Kconfig @@ -101,6 +101,12 @@ config SYSRESET_WATCHDOG help Reboot support for generic watchdog reset. +config SYSRESET_RESETCTL + bool "Enable support for reset controller reboot driver" + select DM_RESET + help + Reboot support using generic reset controller. + config SYSRESET_X86 bool "Enable support for x86 processor reboot driver" depends on X86 |