diff options
author | Shyam Saini | 2019-02-06 13:23:35 +0530 |
---|---|---|
committer | Stefano Babic | 2019-03-13 09:14:35 +0100 |
commit | 74bf932679b6e3cfa7b1dece57dc3b550b37b34d (patch) | |
tree | 0f056bf54cd29cfea0ab026cc8357029e1c0f635 | |
parent | 75cd09cb18592896abf91bc7530ea28f6b17ec77 (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>
-rw-r--r-- | board/engicam/common/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c index 5dccb17cb27..7486f0ac2d9 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; } |