Commit cf1331f85397d0612eec028061aeb308f505ab24

Authored by Hannes Petermaier
Committed by Tom Rini
1 parent d301425fbf

board/BuR/tseries: Enable HW-Watchdog

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>

Showing 2 changed files with 7 additions and 0 deletions Side-by-side Diff

board/BuR/tseries/board.c
... ... @@ -28,6 +28,7 @@
28 28 #include <power/tps65217.h>
29 29 #include "../common/bur_common.h"
30 30 #include <lcd.h>
  31 +#include <watchdog.h>
31 32  
32 33 DECLARE_GLOBAL_DATA_PTR;
33 34  
... ... @@ -144,6 +145,9 @@
144 145 /* Basic board specific setup. Pinmux has been handled already. */
145 146 int board_init(void)
146 147 {
  148 +#if defined(CONFIG_HW_WATCHDOG)
  149 + hw_watchdog_init();
  150 +#endif
147 151 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
148 152 #ifdef CONFIG_NAND
149 153 gpmc_init();
include/configs/tseries.h
... ... @@ -20,6 +20,9 @@
20 20 #define CONFIG_SYS_WHITE_ON_BLACK
21 21 #define LCD_BPP LCD_COLOR32
22 22  
  23 +#define CONFIG_HW_WATCHDOG
  24 +#define CONFIG_OMAP_WATCHDOG
  25 +#define CONFIG_SPL_WATCHDOG_SUPPORT
23 26 /* Clock Defines */
24 27 #define V_OSCK 26000000 /* Clock output from T2 */
25 28 #define V_SCLK (V_OSCK)