hw/timer: Add value matching support to aspeed_timer
commit1d3e65aa7ac5afb6798c222abd923eff49ac55f0
authorAndrew Jeffery <andrew@aj.id.au>
Fri, 17 Jun 2016 14:23:48 +0000 (17 15:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 17 Jun 2016 14:23:51 +0000 (17 15:23 +0100)
treee977e23db17df84c988f2f0dca5c2d893b270b2f
parent3b1a2225010b1f25745ed6e934cb4c25eb28282e
hw/timer: Add value matching support to aspeed_timer

Value matching allows Linux to boot with CONFIG_NO_HZ_IDLE=y on the
palmetto-bmc machine. Two match registers are provided for each timer.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1465974248-20434-1-git-send-email-andrew@aj.id.au
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/timer/aspeed_timer.c
include/hw/timer/aspeed_timer.h