lib: utils/reset: Add a sunxi watchdog reset driver

One of the watchdogs in the D1 SoC provides a "soft reset" function,
which allows software to immediately reset the entire SoC. Add a driver
so it can implement the SBI system reset function.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Samuel Holland authored and Anup Patel committed 2021-09-14 13:24:53 +05:30
1 parent 0274a96004
commit 395ff7eede
3 files changed
+80

No files matched your search

+1
View File
@@ -11,5 +11,6 @@ libsbiutils-objs-y += reset/fdt_reset.o
libsbiutils-objs-y += reset/fdt_reset_gpio.o
libsbiutils-objs-y += reset/fdt_reset_htif.o
libsbiutils-objs-y += reset/fdt_reset_sifive_test.o
libsbiutils-objs-y += reset/fdt_reset_sunxi_wdt.o
libsbiutils-objs-y += reset/fdt_reset_thead.o
libsbiutils-objs-y += reset/fdt_reset_thead_asm.o