diff options
author | Tang Yuantian <[email protected]> | 2014-05-08 10:04:26 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2014-06-10 21:47:26 +0200 |
commit | d2deebabaeedccf7cee943c1f7f6fdb44afd4e3d (patch) | |
tree | 608c9d7e57401f6782f84f3d068b8388cc7374e9 /drivers/mtd/lpddr/lpddr2_nvm.c | |
parent | ec2e32ca661e7f2fe6c23efe202013f6ab5bf021 (diff) |
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: Tang Yuantian <[email protected]>
Acked-by: Scott Wood <[email protected]>
Reviewed-by: Li Yang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr2_nvm.c')
0 files changed, 0 insertions, 0 deletions