summaryrefslogtreecommitdiffstats
path: root/include/hw/arm
diff options
context:
space:
mode:
authorPeter Maydell2021-02-19 15:45:58 +0100
committerPeter Maydell2021-03-08 18:20:02 +0100
commit1292b93289f8545f416f1d25ee701caa91d24415 (patch)
tree432700f2486734f5fc670cf604e25e6400d4b4ce /include/hw/arm
parenthw/arm/armsse: Move dual-timer device into data-driven framework (diff)
downloadqemu-1292b93289f8545f416f1d25ee701caa91d24415.tar.gz
qemu-1292b93289f8545f416f1d25ee701caa91d24415.tar.xz
qemu-1292b93289f8545f416f1d25ee701caa91d24415.zip
hw/arm/armsse: Move watchdogs into data-driven framework
Move the CMSDK watchdog device handling into the data-driven device placement framework. This is slightly more complicated because these devices might wire their IRQs up to the NMI line, and because one of them uses the slow 32KHz clock rather than the main clock. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210219144617.4782-26-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/armsse.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/arm/armsse.h b/include/hw/arm/armsse.h
index c1f4df295a..3f8f375057 100644
--- a/include/hw/arm/armsse.h
+++ b/include/hw/arm/armsse.h
@@ -171,9 +171,7 @@ struct ARMSSE {
CMSDKAPBDualTimer dualtimer;
- CMSDKAPBWatchdog s32kwatchdog;
- CMSDKAPBWatchdog nswatchdog;
- CMSDKAPBWatchdog swatchdog;
+ CMSDKAPBWatchdog cmsdk_watchdog[3];
IoTKitSysCtl sysctl;
IoTKitSysCtl sysinfo;