summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-exynos/watchdog.h
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2012-01-18 15:55:05 +0900
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-12 10:11:29 +0100
commit851db35e2dc07ca1d0a5c02be2652cf1173652eb (patch)
treef7a6b21a38c5f595014fdb9b39c2790f0feaad57 /arch/arm/include/asm/arch-exynos/watchdog.h
parent0e94a7113acf4b1504bbffd32ed8a2cdb9ddd6f9 (diff)
downloadtalos-obmc-uboot-851db35e2dc07ca1d0a5c02be2652cf1173652eb.tar.gz
talos-obmc-uboot-851db35e2dc07ca1d0a5c02be2652cf1173652eb.zip
S5P: support generic watchdog timer
This patch adds support the generic watchdog timer for s5pc1xx and exynos4 Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: HeungJun, Kim <riverful.kim@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-exynos/watchdog.h')
-rw-r--r--arch/arm/include/asm/arch-exynos/watchdog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-exynos/watchdog.h b/arch/arm/include/asm/arch-exynos/watchdog.h
index 30158756c7..ee0c9c9e4b 100644
--- a/arch/arm/include/asm/arch-exynos/watchdog.h
+++ b/arch/arm/include/asm/arch-exynos/watchdog.h
@@ -42,12 +42,16 @@
#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
OpenPOWER on IntegriCloud