board: engicam: Add watchdog support on Engicam
This patch adds watchdog support for engicam imx6 family
of boards.
Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c
index 5dccb17..7486f0a 100644
--- a/board/engicam/common/board.c
+++ b/board/engicam/common/board.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <mmc.h>
#include <asm/arch/sys_proto.h>
+#include <watchdog.h>
#include "board.h"
@@ -88,6 +89,10 @@
setenv_fdt_file();
+#ifdef CONFIG_HW_WATCHDOG
+ hw_watchdog_init();
+#endif
+
return 0;
}