aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBanajit Goswami <banajit.g@samsung.com>2010-05-20 06:58:24 -0400
committerWim Van Sebroeck <wim@iguana.be>2010-05-25 05:06:15 -0400
commit8740f71d7f4f0400cd8c42e6584155024119d77e (patch)
tree562873f0901e7ee4be0842339fccd8d9f9767adc /drivers
parent7e6811daa662fc4eb87ddfb3ea0ea9d782044157 (diff)
watchdog: s3c2410_wdt - Add extra option to include watchdog for Samsung SoCs
This patch adds HAVE_S3C2410_WATCHDOG to control inclusion of watchdog driver for Samsung SoCs. This option will help to include the driver only for the necessary machines and not for all for any given arch. Signed-off-by: Banajit Goswami <banajit.g@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/Kconfig14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index b87ba23442d2..c57ecffe0085 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -145,13 +145,19 @@ config KS8695_WATCHDOG
145 Watchdog timer embedded into KS8695 processor. This will reboot your 145 Watchdog timer embedded into KS8695 processor. This will reboot your
146 system when the timeout is reached. 146 system when the timeout is reached.
147 147
148config HAVE_S3C2410_WATCHDOG
149 bool
150 help
151 This will include watchdog timer support for Samsung SoCs. If
152 you want to include watchdog support for any machine, kindly
153 select this in the respective mach-XXXX/Kconfig file.
154
148config S3C2410_WATCHDOG 155config S3C2410_WATCHDOG
149 tristate "S3C2410 Watchdog" 156 tristate "S3C2410 Watchdog"
150 depends on ARCH_S3C2410 157 depends on ARCH_S3C2410 || HAVE_S3C2410_WATCHDOG
151 help 158 help
152 Watchdog timer block in the Samsung S3C2410 chips. This will 159 Watchdog timer block in the Samsung SoCs. This will reboot
153 reboot the system when the timer expires with the watchdog 160 the system when the timer expires with the watchdog enabled.
154 enabled.
155 161
156 The driver is limited by the speed of the system's PCLK 162 The driver is limited by the speed of the system's PCLK
157 signal, so with reasonably fast systems (PCLK around 50-66MHz) 163 signal, so with reasonably fast systems (PCLK around 50-66MHz)