diff options
author | Peter Chubb <peter.chubb@nicta.com.au> | 2013-08-20 14:54:32 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-08-20 14:54:32 +0100 |
commit | 230058106ab26de9b876158dbe27d60719f01f51 (patch) | |
tree | 32f530ab14129caade4850af1fb6df689df939d5 /cpus.c | |
parent | 66aae5e1ecc38e8658c5cc69a0b3ceeb4967619c (diff) |
hw/timer/imx_epit: Simplify and fix imx_epit implementation
When imx_epit.c was last refactored, a common usecase (comparison
register zero) broke. This patch fixes that, and simplifies the code
yet more. It also fixes a major thinko in the reset path --- the
wrong bits in the control register were being cleared.
Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au>
Reviewed-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions