summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorHannes Petermaier <oe5hpm@oevsv.at>2015-02-03 13:22:28 +0100
committerTom Rini <trini@konsulko.com>2015-03-05 20:13:17 -0500
commitcf1331f85397d0612eec028061aeb308f505ab24 (patch)
treee90cf6f65c05f58f6d0ac40dad989d694fe7ab02 /board
parentd301425fbfc7a0c13df2a2965a289c829e2b1ba3 (diff)
downloadu-boot-imx-cf1331f85397d0612eec028061aeb308f505ab24.zip
u-boot-imx-cf1331f85397d0612eec028061aeb308f505ab24.tar.gz
u-boot-imx-cf1331f85397d0612eec028061aeb308f505ab24.tar.bz2
board/BuR/tseries: Enable HW-Watchdog
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Diffstat (limited to 'board')
-rw-r--r--board/BuR/tseries/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c
index 66747eb..a1c6887 100644
--- a/board/BuR/tseries/board.c
+++ b/board/BuR/tseries/board.c
@@ -28,6 +28,7 @@
#include <power/tps65217.h>
#include "../common/bur_common.h"
#include <lcd.h>
+#include <watchdog.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -144,6 +145,9 @@ void sdram_init(void)
/* Basic board specific setup. Pinmux has been handled already. */
int board_init(void)
{
+#if defined(CONFIG_HW_WATCHDOG)
+ hw_watchdog_init();
+#endif
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
#ifdef CONFIG_NAND
gpmc_init();