diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2016-08-03 16:14:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-12 09:20:07 +0200 |
commit | cc2c60c531572ac27f42f419d3da1a65e4e67262 (patch) | |
tree | c260f8a027df55cc00d9fa71f45807c48890827d /scripts | |
parent | 402a4c33ca2a84accae41f33443a69e4ecd9cfe8 (diff) | |
download | barebox-cc2c60c531572ac27f42f419d3da1a65e4e67262.tar.gz barebox-cc2c60c531572ac27f42f419d3da1a65e4e67262.tar.xz |
mfd: da9063: reset watchdog timer
Setting the new timeout does not suffice for restarting the watchdog;
the self-clearing bit in CONTROL_F must be set too.
barebox does not provide a ping function in its watchdog api to restart
the watchdog timer. Detect ping vs. set_timeout() by comparing the
actual with the previous timeout value.
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Tested-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions