[PATCH] powerpc: change the Book-E watchdog driver default timeout into a Kconfig option
Kumar Gala
kumar.gala at freescale.com
Thu Oct 14 17:08:16 EST 2010
On Oct 13, 2010, at 2:19 PM, Timur Tabi wrote:
> 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 with requiring
> the wdt_period command-line parameter to be set.
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> drivers/watchdog/Kconfig | 17 +++++++++++++++++
> drivers/watchdog/booke_wdt.c | 8 +-------
> 2 files changed, 18 insertions(+), 7 deletions(-)
applied to next, fixed commit message.
Also, in general I believe commit messages should be about 75 columns so they dont wrap if you do a git log in an 80 column terminal.
- k
More information about the Linuxppc-dev
mailing list