diff options
author | Peter Chubb | 2013-08-20 15:54:32 +0200 |
---|---|---|
committer | Peter Maydell | 2013-08-20 15:54:32 +0200 |
commit | 230058106ab26de9b876158dbe27d60719f01f51 (patch) | |
tree | 32f530ab14129caade4850af1fb6df689df939d5 /hw/lm32/milkymist.c | |
parent | default-configs: Fix A9MP and A15MP config names (diff) | |
download | qemu-230058106ab26de9b876158dbe27d60719f01f51.tar.gz qemu-230058106ab26de9b876158dbe27d60719f01f51.tar.xz qemu-230058106ab26de9b876158dbe27d60719f01f51.zip |
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 'hw/lm32/milkymist.c')
0 files changed, 0 insertions, 0 deletions