summaryrefslogtreecommitdiff
path: root/board/engicam/common
diff options
context:
space:
mode:
authorShyam Saini <shyam.saini@amarulasolutions.com>2019-02-06 13:23:35 +0530
committerStefano Babic <sbabic@denx.de>2019-03-13 09:14:35 +0100
commit74bf932679b6e3cfa7b1dece57dc3b550b37b34d (patch)
tree0f056bf54cd29cfea0ab026cc8357029e1c0f635 /board/engicam/common
parent75cd09cb18592896abf91bc7530ea28f6b17ec77 (diff)
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>
Diffstat (limited to 'board/engicam/common')
-rw-r--r--board/engicam/common/board.c5
1 files changed, 5 insertions, 0 deletions
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 <common.h>
#include <mmc.h>
#include <asm/arch/sys_proto.h>
+#include <watchdog.h>
#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;
}