diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-10-08 18:17:39 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-15 18:09:03 +0100 |
commit | 8c9dbc6236d202bfa8ec64a6661cff8a600f5768 (patch) | |
tree | a0f7490d57d9485509fd37216fa603b34b64454c /include | |
parent | 00ee4b0f485a96d91beb613ccd43044e354d97df (diff) |
hw/watchdog/cmsdk-apb-watchdog.c: Switch to transaction-based ptimer API
Switch the cmsdk-apb-watchdog code away from bottom-half based
ptimers to the new transaction-based ptimer API. This just requires
adding begin/commit calls around the various places that modify the
ptimer state, and using the new ptimer_init() function to create the
timer.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-21-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions