summaryrefslogtreecommitdiffstats
path: root/hw/rtc
diff options
context:
space:
mode:
authorJoel Stanley2019-11-19 15:12:03 +0100
committerPeter Maydell2019-12-16 11:46:34 +0100
commit28c80f15fc9c4c1ee980e87e693374f196aa20fe (patch)
tree803e45958f1b9fbee16adc86a0a3ea366da492e1 /hw/rtc
parentwatchdog/aspeed: Improve watchdog timeout message (diff)
downloadqemu-28c80f15fc9c4c1ee980e87e693374f196aa20fe.tar.gz
qemu-28c80f15fc9c4c1ee980e87e693374f196aa20fe.tar.xz
qemu-28c80f15fc9c4c1ee980e87e693374f196aa20fe.zip
watchdog/aspeed: Fix AST2600 frequency behaviour
The AST2600 control register sneakily changed the meaning of bit 4 without anyone noticing. It no longer controls the 1MHz vs APB clock select, and instead always runs at 1MHz. The AST2500 was always 1MHz too, but it retained bit 4, making it read only. We can model both using the same fixed 1MHz calculation. Fixes: 6b2b2a703cad ("hw: wdt_aspeed: Add AST2600 support") Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-id: 20191119141211.25716-10-clg@kaod.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/rtc')
0 files changed, 0 insertions, 0 deletions