]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-exynos/watchdog.h
S5P: support generic watchdog timer
[karo-tx-uboot.git] / arch / arm / include / asm / arch-exynos / watchdog.h
index 30158756c78ce4a9f1694e05a783b4e3d1e5f38f..ee0c9c9e4b229ac97d0171e9f964bb293f63cee1 100644 (file)
 #define WTCON_INT              (0x1 << WTCON_INTEN_OFFSET)
 
 #ifndef __ASSEMBLY__
-struct exynos4_watchdog {
+struct s5p_watchdog {
        unsigned int wtcon;
        unsigned int wtdat;
        unsigned int wtcnt;
        unsigned int wtclrint;
 };
+
+/* functions */
+void wdt_stop(void);
+void wdt_start(unsigned int timeout);
 #endif /* __ASSEMBLY__ */
 
 #endif