[PATCH 1/1] booke/watchdog: refine and clean up the codes
pku.leo at gmail.com
Fri May 9 18:31:47 EST 2014
On Thu, May 8, 2014 at 10:04 AM, <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: Li Yang <leoli at freescale.com>
More information about the Linuxppc-dev