From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Petermaier Date: Tue, 3 Feb 2015 13:19:22 +0100 Subject: [U-Boot] [PATCH v2] board/BuR/tseries: Enable HW-Watchdog In-Reply-To: <1422965980-3545-1-git-send-email-oe5hpm@oevsv.at> References: <1422965980-3545-1-git-send-email-oe5hpm@oevsv.at> Message-ID: <1422965980-3545-6-git-send-email-oe5hpm@oevsv.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Hannes Petermaier --- Changes for V2: None --- board/BuR/tseries/board.c | 4 ++++ include/configs/tseries.h | 3 +++ 2 files changed, 7 insertions(+) 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 #include "../common/bur_common.h" #include +#include 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(); diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 9ad294f..368f588 100644 --- a/include/configs/tseries.h +++ b/include/configs/tseries.h @@ -20,6 +20,9 @@ #define CONFIG_SYS_WHITE_ON_BLACK #define LCD_BPP LCD_COLOR32 +#define CONFIG_HW_WATCHDOG +#define CONFIG_OMAP_WATCHDOG +#define CONFIG_SPL_WATCHDOG_SUPPORT /* Clock Defines */ #define V_OSCK 26000000 /* Clock output from T2 */ #define V_SCLK (V_OSCK) -- 1.7.10.4