summaryrefslogtreecommitdiff
path: root/board/ti/am335x
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-10-01 12:32:04 -0400
committerTom Rini <trini@ti.com>2013-11-01 15:55:59 -0400
commit6843918e0035bf06cb65ad2b4c98b38e86e43bd5 (patch)
tree3755d8744e201c51b684e0250ec0d4174b19889f /board/ti/am335x
parente1e55c13c965c1c2316cd1540c3e46e1c07fc4ee (diff)
downloadu-boot-imx-6843918e0035bf06cb65ad2b4c98b38e86e43bd5.zip
u-boot-imx-6843918e0035bf06cb65ad2b4c98b38e86e43bd5.tar.gz
u-boot-imx-6843918e0035bf06cb65ad2b4c98b38e86e43bd5.tar.bz2
am335x: Enable CONFIG_OMAP_WATCHDOG support
There is a board-specific portion for calling watchdog enable itself, in main U-Boot. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/ti/am335x')
-rw-r--r--board/ti/am335x/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index c2fc5a6..57fedab 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -28,6 +28,8 @@
#include <cpsw.h>
#include <power/tps65217.h>
#include <power/tps65910.h>
+#include <environment.h>
+#include <watchdog.h>
#include "board.h"
DECLARE_GLOBAL_DATA_PTR;
@@ -485,6 +487,10 @@ int board_init(void)
STNOR_GPMC_CONFIG5, STNOR_GPMC_CONFIG6, STNOR_GPMC_CONFIG7 };
#endif
+#if defined(CONFIG_HW_WATCHDOG)
+ hw_watchdog_init();
+#endif
+
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
gpmc_init();