summaryrefslogtreecommitdiffstats
path: root/hw/timer/cadence_ttc.c
diff options
context:
space:
mode:
authorJean-Christophe Dubois2016-03-16 18:05:59 +0100
committerPeter Maydell2016-03-16 18:42:18 +0100
commit4833e15f7487440243377250d7d76b96ba4c210c (patch)
tree70d2c624594ec0a418dc514a0da65d44166e4b2a /hw/timer/cadence_ttc.c
parentarm: virt: Move machine class init code to the abstract machine type (diff)
downloadqemu-4833e15f7487440243377250d7d76b96ba4c210c.tar.gz
qemu-4833e15f7487440243377250d7d76b96ba4c210c.tar.xz
qemu-4833e15f7487440243377250d7d76b96ba4c210c.zip
i.MX: Allow GPT timer to rollover.
GPT timer need to rollover when it reaches 0xffffffff. It also need to reset to 0 when in "restart mode" and crossing the compare 1 register. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Message-id: 6e2b36117a249a78bf822dd59a390368f407136e.1456868959.git.jcd@tribudubois.net Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer/cadence_ttc.c')
0 files changed, 0 insertions, 0 deletions