diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-08-19 15:55:15 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-11 17:18:44 +0200 |
commit | 496a3b5c2c188e8af07261792b3d4e6cf1c1dab9 (patch) | |
tree | 8b84a2f249c27d6804b3db9068f679d178c8d504 /include/asm-mips/txx9/generic.h | |
parent | MIPS: TXx9: Make spi_eeprom.c more generic (diff) | |
download | linux-496a3b5c2c188e8af07261792b3d4e6cf1c1dab9.tar.xz linux-496a3b5c2c188e8af07261792b3d4e6cf1c1dab9.zip |
MIPS: TXx9: Default machine_restart using watchdog reset
Add default machine_restart routine using watchdog reset of TX4927 and
TX4938.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r-- | include/asm-mips/txx9/generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index 1982c4437b1d..1e1a9f2d2379 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h @@ -45,6 +45,7 @@ extern int (*txx9_irq_dispatch)(int pending); char *prom_getcmdline(void); const char *prom_getenv(const char *name); void txx9_wdt_init(unsigned long base); +void txx9_wdt_now(unsigned long base); void txx9_spi_init(int busid, unsigned long base, int irq); void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); void txx9_sio_init(unsigned long baseaddr, int irq, |