Axel Heider
8d71beaf1e
hw/timer/imx_epit: fix compare timer handling
...
- fix #1263 for CR writes
- rework compare time handling
- The compare timer has to run even if CR.OCIEN is not set,
as SR.OCIF must be updated.
- The compare timer fires exactly once when the
compare value is less than the current value, but the
reload values is less than the compare value.
- The compare timer will never fire if the reload value is
less than the compare value. Disable it in this case.
Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
[PMM: fixed minor style nits]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-01-05 12:14:43 +00:00
..
2022-12-23 11:48:13 +01:00
2022-12-21 07:32:24 -05:00
2022-07-18 13:20:14 +01:00
2022-10-31 11:32:07 +01:00
2022-12-21 06:35:28 -05:00
2022-11-23 12:30:45 +01:00
2022-04-06 14:31:55 +02:00
2022-12-01 02:30:13 -05:00
2022-12-14 16:19:35 +01:00
2022-12-21 06:35:28 -05:00
2021-05-02 17:24:51 +02:00
2022-11-07 13:12:19 -05:00
2022-12-16 15:59:07 +00:00
2022-10-24 13:41:10 +02:00
2022-10-17 16:15:09 -03:00
2022-10-31 11:32:07 +01:00
2022-12-16 15:55:32 +00:00
2022-10-24 11:20:15 +02:00
2022-12-21 07:32:24 -05:00
2022-10-31 18:48:23 +00:00
2022-12-16 15:56:24 +00:00
2022-12-16 15:59:07 +00:00
2021-09-30 13:42:10 +01:00
2022-08-01 06:40:50 -05:00
2022-12-21 06:35:28 -05:00
2022-12-15 15:46:12 +08:00
2022-12-21 06:35:28 -05:00
2022-12-21 07:32:24 -05:00
2022-09-21 19:59:56 +02:00
2022-10-31 11:32:56 +01:00
2022-12-16 15:56:55 +00:00
2022-12-15 15:19:24 +01:00
2022-10-17 16:15:10 -03:00
2021-09-30 13:42:10 +01:00
2022-12-14 16:19:35 +01:00
2022-12-14 20:04:47 +01:00
2022-10-27 11:34:31 +01:00
2022-12-21 15:44:08 +00:00
2022-12-21 07:32:24 -05:00
2022-12-21 07:32:24 -05:00
2021-05-02 17:24:50 +02:00
2022-12-21 18:08:09 +00:00
2022-12-14 16:19:35 +01:00
2022-12-16 15:55:32 +00:00
2022-10-27 11:34:31 +01:00
2022-09-04 07:02:56 +01:00
2022-10-27 11:34:31 +01:00
2022-12-21 06:35:28 -05:00
2022-12-01 02:30:04 -05:00
2022-12-21 14:17:55 -03:00
2022-07-14 16:24:38 +02:00
2022-03-21 15:44:44 +01:00
2022-11-07 14:08:17 -05:00
2022-05-12 12:29:44 +02:00
2022-10-31 11:32:07 +01:00
2022-10-24 11:20:15 +02:00
2023-01-05 12:14:43 +00:00
2022-09-09 17:55:59 -04:00
2021-07-20 20:10:21 +02:00
2022-12-16 15:55:32 +00:00
2022-11-07 18:43:56 -05:00
2022-12-21 07:32:24 -05:00
2022-12-21 06:35:28 -05:00
2022-11-05 20:35:45 +01:00
2022-05-09 08:21:14 +02:00
2022-05-06 15:27:40 -07:00
2022-06-06 18:09:03 +00:00
2022-06-06 18:09:03 +00:00