Skip to content
Commit d2deebab authored by Tang Yuantian's avatar Tang Yuantian Committed by Wim Van Sebroeck
Browse files

booke/watchdog: refine and clean up the codes



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: default avatarTang Yuantian <yuantian.tang@freescale.com>
Acked-by: default avatarScott Wood <scottwood@freescale.com>
Reviewed-by: default avatarLi Yang <leoli@freescale.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent ec2e32ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment