[PATCH 1/1] booke/watchdog: refine and clean up the codes
Guenter Roeck
linux at roeck-us.net
Sat May 10 03:44:16 EST 2014
On Thu, May 08, 2014 at 10:04:26AM +0800, Yuantian.Tang at freescale.com wrote:
> From: Tang Yuantian <yuantian.tang at freescale.com>
>
> Basically, this patch does the following:
> 1. Move the codes of parsing boot parameters from setup-common.c
> to driver. In this way, code reader can know directly that
> there are boot parameters that can change the timeout.
> 2. Make boot parameter 'booke_wdt_period' effective.
> currently, when driver is loaded, default timeout is always
> being used in stead of booke_wdt_period.
> 3. Wrap up the watchdog timeout in device struct and clean up
> unnecessary codes.
>
> Signed-off-by: Tang Yuantian <yuantian.tang at freescale.com>
> Acked-by: Scott Wood <scottwood at freescale.com>
Reviewed-by: Guenter Roeck <linux at roeck-us.net>
More information about the Linuxppc-dev
mailing list