This patch adds watchdog support for engicam imx6 family
of boards.
Signed-off-by: Shyam Saini <[email protected]>
---
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 5dccb17cb271..7486f0ac2d9c 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;
}
--
2.11.0
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot