From: Shyam Saini Date: Wed, 6 Feb 2019 07:53:35 +0000 (+0530) Subject: board: engicam: Add watchdog support on Engicam X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=74bf932679b6e3cfa7b1dece57dc3b550b37b34d;p=u-boot.git board: engicam: Add watchdog support on Engicam This patch adds watchdog support for engicam imx6 family of boards. Signed-off-by: Shyam Saini --- 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; }