mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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
This commit is contained in:
parent
7e8e25dbd3
commit
1292b93289
2 changed files with 66 additions and 47 deletions
|
@ -171,9 +171,7 @@ struct ARMSSE {
|
|||
|
||||
CMSDKAPBDualTimer dualtimer;
|
||||
|
||||
CMSDKAPBWatchdog s32kwatchdog;
|
||||
CMSDKAPBWatchdog nswatchdog;
|
||||
CMSDKAPBWatchdog swatchdog;
|
||||
CMSDKAPBWatchdog cmsdk_watchdog[3];
|
||||
|
||||
IoTKitSysCtl sysctl;
|
||||
IoTKitSysCtl sysinfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue