From 74bf932679b6e3cfa7b1dece57dc3b550b37b34d Mon Sep 17 00:00:00 2001 From: Shyam Saini Date: Wed, 6 Feb 2019 13:23:35 +0530 Subject: [PATCH] board: engicam: Add watchdog support on Engicam This patch adds watchdog support for engicam imx6 family of boards. Signed-off-by: Shyam Saini --- board/engicam/common/board.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c index 5dccb17cb2..7486f0ac2d 100644 --- a/board/engicam/common/board.c +++ b/board/engicam/common/board.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "board.h" @@ -88,6 +89,10 @@ int board_late_init(void) setenv_fdt_file(); +#ifdef CONFIG_HW_WATCHDOG + hw_watchdog_init(); +#endif + return 0; } -- 2.39.5