mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
board/BuR/tseries: Enable HW-Watchdog
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
This commit is contained in:
parent
d301425fbf
commit
cf1331f853
2 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue