summaryrefslogtreecommitdiff
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-04-22 11:23:16 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-04-30 11:22:43 +0200
commit0f21f98dd4d6bff72df4eeaca4163779896cb336 (patch)
tree796651fceccc2d19ce2ba1e38156491dca8d6b0c /arch/microblaze/include
parent8848668e136cccb30229b5e1484d41e0b5a6830a (diff)
downloadu-boot-imx-0f21f98dd4d6bff72df4eeaca4163779896cb336.zip
u-boot-imx-0f21f98dd4d6bff72df4eeaca4163779896cb336.tar.gz
u-boot-imx-0f21f98dd4d6bff72df4eeaca4163779896cb336.tar.bz2
watchdog: Add support for Xilinx Microblaze watchdog
Watchdog can be used on Microblaze, PPC and Zynq hw designs. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r--arch/microblaze/include/asm/processor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h
index 2c4d5ff..d33faeb 100644
--- a/arch/microblaze/include/asm/processor.h
+++ b/arch/microblaze/include/asm/processor.h
@@ -31,4 +31,8 @@ extern char __text_start[];
/* Microblaze board initialization function */
void board_init(void);
+/* Watchdog functions */
+extern int hw_watchdog_init(void);
+extern void hw_watchdog_disable(void);
+
#endif /* __ASM_MICROBLAZE_PROCESSOR_H */