From: Chris Blake Date: Mon, 3 Sep 2018 20:06:13 -0500 Subject: [U-Boot] [PATCH 0/2] Watchdog: Add support for sunxi hardware watchdog Message-ID: <1536023175-10682-1-git-send-email-chrisrblake93@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The following patches are needed to add support for the hardware watchdog found in most sunxi SoC's. The patches below have only been tested on a sun50i device (H5 SoC) and work as expected. The actual sunxi_wdt.c was roughly based off of the mainline linux driver, and is enabled by adding CONFIG_SUNXI_WDT to your config. It is not enabled by default. Chris Blake (2): watchdog: Fix SPL builds when watchdog is enabled watchdog: Add sunxi watchdog driver common/board_f.c | 3 +- drivers/watchdog/Kconfig | 18 ++++++++ drivers/watchdog/Makefile | 1 + drivers/watchdog/sunxi_wdt.c | 103 +++++++++++++++++++++++++++++++++++++++++++ include/watchdog.h | 4 +- 5 files changed, 126 insertions(+), 3 deletions(-) create mode 100644 drivers/watchdog/sunxi_wdt.c -- 2.7.4