diff options
author | John Crispin <blogic@openwrt.org> | 2012-04-30 05:33:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 11:49:23 -0400 |
commit | 6697c6933048aabe94f0049070f7ec09cd52baa8 (patch) | |
tree | 5c155125c4f1daed435c696e5d8aa5bb70d9abd6 /arch/mips/include/asm/mach-lantiq/lantiq.h | |
parent | 215ed2009c83615896ee060c08fe574894f084a6 (diff) |
MIPS: lantiq: cleanup reset code
Add 2 new soc specifc handlers and remove superflous pr_notice calls.
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3705/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-lantiq/lantiq.h')
-rw-r--r-- | arch/mips/include/asm/mach-lantiq/lantiq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h index ce2f02929d22..7a90190bc387 100644 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h | |||
@@ -48,7 +48,8 @@ extern spinlock_t ebu_lock; | |||
48 | extern void ltq_disable_irq(struct irq_data *data); | 48 | extern void ltq_disable_irq(struct irq_data *data); |
49 | extern void ltq_mask_and_ack_irq(struct irq_data *data); | 49 | extern void ltq_mask_and_ack_irq(struct irq_data *data); |
50 | extern void ltq_enable_irq(struct irq_data *data); | 50 | extern void ltq_enable_irq(struct irq_data *data); |
51 | 51 | /* find out what bootsource we have */ | |
52 | extern unsigned char ltq_boot_select(void); | ||
52 | /* find out what caused the last cpu reset */ | 53 | /* find out what caused the last cpu reset */ |
53 | extern int ltq_reset_cause(void); | 54 | extern int ltq_reset_cause(void); |
54 | #define LTQ_RST_CAUSE_WDTRST 0x20 | 55 | #define LTQ_RST_CAUSE_WDTRST 0x20 |