summary refs log tree commit diff stats
path: root/include/hw/arm/iotkit.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-08-24 13:17:42 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-08-24 13:17:42 +0100
commite2d203baba7bf202a64ee321c2754fe918ab909e (patch)
tree496a8507d4993c575d47ae581f2b5b7b373cb0ef /include/hw/arm/iotkit.h
parentd61e4e1ff721ff8ab611f8a81442f8af192c0961 (diff)
downloadfocaccia-qemu-e2d203baba7bf202a64ee321c2754fe918ab909e.tar.gz
focaccia-qemu-e2d203baba7bf202a64ee321c2754fe918ab909e.zip
hw/arm/iotkit: Wire up the S32KTIMER
The IoTKit has a CMSDK timer device that runs on the S32KCLK.
Create this and wire it up.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180820141116.9118-8-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm/iotkit.h')
-rw-r--r--include/hw/arm/iotkit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/iotkit.h b/include/hw/arm/iotkit.h
index 776d049708..0f5c510170 100644
--- a/include/hw/arm/iotkit.h
+++ b/include/hw/arm/iotkit.h
@@ -83,6 +83,7 @@ typedef struct IoTKit {
     TZMPC mpc;
     CMSDKAPBTIMER timer0;
     CMSDKAPBTIMER timer1;
+    CMSDKAPBTIMER s32ktimer;
     qemu_or_irq ppc_irq_orgate;
     SplitIRQ sec_resp_splitter;
     SplitIRQ ppc_irq_splitter[NUM_PPCS];
@@ -91,7 +92,6 @@ typedef struct IoTKit {
     qemu_or_irq nmi_orgate;
 
     CMSDKAPBDualTimer dualtimer;
-    UnimplementedDeviceState s32ktimer;
 
     CMSDKAPBWatchdog s32kwatchdog;
     CMSDKAPBWatchdog nswatchdog;