qemu-patch-raspberry4/hw/watchdog
Joel Stanley 28c80f15fc 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: 6b2b2a703c ("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>
2019-12-16 10:46:34 +00:00
..
cmsdk-apb-watchdog.c hw/watchdog/cmsdk-apb-watchdog.c: Switch to transaction-based ptimer API 2019-10-15 18:09:03 +01:00
Kconfig ptimer: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
Makefile.objs hw/watchdog/cmsdk_apb_watchdog: Implement CMSDK APB watchdog module 2018-08-20 11:24:33 +01:00
trace-events trace-events: Fix attribution of trace points to source 2019-03-22 16:18:07 +00:00
watchdog.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
wdt_aspeed.c watchdog/aspeed: Fix AST2600 frequency behaviour 2019-12-16 10:46:34 +00:00
wdt_diag288.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
wdt_i6300esb.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
wdt_ib700.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00