eNET: Implement eNET Watchdog

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
Graeme Russ
2010-04-24 00:05:58 +10:00
committed by Wolfgang Denk
parent f2a55055e9
commit 880c59e5ad
3 changed files with 47 additions and 9 deletions

View File

@@ -53,7 +53,7 @@
* bottom (processor) board MUST be removed!
*/
#undef CONFIG_WATCHDOG
#undef CONFIG_HW_WATCHDOG
#define CONFIG_HW_WATCHDOG
/*-----------------------------------------------------------------------
* Serial Configuration
@@ -233,14 +233,6 @@
#define CONFIG_NET_MULTI
#define CONFIG_RTL8139
/*-----------------------------------------------------------------------
* Hardware watchdog configuration
*/
#define CONFIG_SYS_WATCHDOG_PIO_BIT 0x8000
#define CONFIG_SYS_WATCHDIG_PIO_DATA SC520_PIODATA15_0
#define CONFIG_SYS_WATCHDIG_PIO_CLR SC520_PIOCLR15_0
#define CONFIG_SYS_WATCHDIG_PIO_SET SC520_PIOSET15_0
/*-----------------------------------------------------------------------
* FPGA configuration
*/