[PATCH v2 05/21] sysreset: add reset controller based reboot driver

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Jan 17 13:18:27 CET 2020



Am 17.01.20 um 08:45 schrieb Weijie Gao:
> 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: Simon Glass <sjg at chromium.org>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
> Changes since v1: none
> ---
>  drivers/sysreset/Kconfig             |  6 ++++
>  drivers/sysreset/Makefile            |  1 +
>  drivers/sysreset/sysreset_resetctl.c | 48 ++++++++++++++++++++++++++++
>  3 files changed, 55 insertions(+)
>  create mode 100644 drivers/sysreset/sysreset_resetctl.c
> 

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list