lib: utils/reset: Add a sunxi watchdog reset driver
authorSamuel Holland <samuel@sholland.org>
Thu, 9 Sep 2021 02:10:09 +0000 (21:10 -0500)
committerAnup Patel <anup@brainfault.org>
Tue, 14 Sep 2021 07:54:53 +0000 (13:24 +0530)
commit395ff7eedec5e2b5b067e3725303a17352a07651
tree853c5369f95386854afddef25f73ce5aa9913a90
parent0274a9600452af33412dda18e739ba17b13592a2
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>
lib/utils/reset/fdt_reset.c
lib/utils/reset/fdt_reset_sunxi_wdt.c [new file with mode: 0644]
lib/utils/reset/objects.mk