watchdog: core: add option to avoid early handling of watchdog
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 12 May 2017 12:05:32 +0000 (14:05 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 5 Jun 2017 18:55:17 +0000 (20:55 +0200)
commit2501b015313fe2fa40ed11fa4dd1748e09b7c773
tree4765eaf1722ba0445ed73ad0462752c260beb551
parent166fbcf88fdafa02f784ec25ac64745c716b2de0
watchdog: core: add option to avoid early handling of watchdog

On some systems its desirable to have watchdog reboot the system
when it does not come up fast enough. This adds a kernel parameter
to disable the auto-update of watchdog before userspace takes over
and a kernel option to set the default. The info messages were
added to shorten error searching on misconfigured systems.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig
drivers/watchdog/watchdog_dev.c