]> git.karo-electronics.de Git - mv-sheeva.git/commit
powerpc/watchdog: Make default timeout for Book-E watchdog a Kconfig option
authorTimur Tabi <timur@freescale.com>
Wed, 13 Oct 2010 19:19:36 +0000 (14:19 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 14 Oct 2010 06:05:32 +0000 (01:05 -0500)
commite0dc09ff9a28f37441c5e92a14de6abda8db49d6
tree9d67ead558435aa6e062aaeaa2750202b7451a3a
parentabd12fe4d1249f6c2c4b34d5ced82f179e6b5d30
powerpc/watchdog: Make default timeout for Book-E watchdog a Kconfig option

The PowerPC Book-E watchdog driver (booke_wdt.c) defines a default timeout
value in the code based on whether it's a Freescale Book-E part of not.
Instead of having hard-coded values in the driver, make it a Kconfig
option.

As newer chips gets faster, the current default values become less
appropriate, since the timeout sometimes occurs before the kernel finishes
booting.  Making the value a Kconfig option allows BSPs to configure a new
value without requiring the wdt_period command-line parameter to be set.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/watchdog/Kconfig
drivers/watchdog/booke_wdt.c