]> git.dujemihanovic.xyz Git - u-boot.git/commit
sysreset: add reset controller based reboot driver
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 21 Apr 2020 07:28:29 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
commitcaf709229419b3ae6f6748d5c575a44a1bf30c14
tree9495962d5cdb0f925fd9fd805a3b4bd4eefd73f4
parent2a9d68e41f6d67432c19dc1d140f908df0401f2c
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>
drivers/sysreset/Kconfig
drivers/sysreset/Makefile
drivers/sysreset/sysreset_resetctl.c [new file with mode: 0644]