diff options
Diffstat (limited to 'arch/mips/txx9/generic/setup_tx4938.c')
-rw-r--r-- | arch/mips/txx9/generic/setup_tx4938.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/txx9/generic/setup_tx4938.c b/arch/mips/txx9/generic/setup_tx4938.c index 317378d8579d..b0a3dc8863fd 100644 --- a/arch/mips/txx9/generic/setup_tx4938.c +++ b/arch/mips/txx9/generic/setup_tx4938.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/txx9/generic.h> | 21 | #include <asm/txx9/generic.h> |
22 | #include <asm/txx9/tx4938.h> | 22 | #include <asm/txx9/tx4938.h> |
23 | 23 | ||
24 | void __init tx4938_wdr_init(void) | 24 | static void __init tx4938_wdr_init(void) |
25 | { | 25 | { |
26 | /* clear WatchDogReset (W1C) */ | 26 | /* clear WatchDogReset (W1C) */ |
27 | tx4938_ccfg_set(TX4938_CCFG_WDRST); | 27 | tx4938_ccfg_set(TX4938_CCFG_WDRST); |
@@ -29,6 +29,11 @@ void __init tx4938_wdr_init(void) | |||
29 | tx4938_ccfg_set(TX4938_CCFG_WR); | 29 | tx4938_ccfg_set(TX4938_CCFG_WR); |
30 | } | 30 | } |
31 | 31 | ||
32 | void __init tx4938_wdt_init(void) | ||
33 | { | ||
34 | txx9_wdt_init(TX4938_TMR_REG(2) & 0xfffffffffULL); | ||
35 | } | ||
36 | |||
32 | static struct resource tx4938_sdram_resource[4]; | 37 | static struct resource tx4938_sdram_resource[4]; |
33 | static struct resource tx4938_sram_resource; | 38 | static struct resource tx4938_sram_resource; |
34 | 39 | ||