aboutsummaryrefslogtreecommitdiff
path: root/hw/watchdog/wdt_imx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/watchdog/wdt_imx2.c')
-rw-r--r--hw/watchdog/wdt_imx2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/watchdog/wdt_imx2.c b/hw/watchdog/wdt_imx2.c
index 885ebd3..891d7be 100644
--- a/hw/watchdog/wdt_imx2.c
+++ b/hw/watchdog/wdt_imx2.c
@@ -23,6 +23,8 @@ static void imx2_wdt_interrupt(void *opaque)
{
IMX2WdtState *s = IMX2_WDT(opaque);
+ trace_imx2_wdt_interrupt();
+
s->wicr |= IMX2_WDT_WICR_WTIS;
qemu_set_irq(s->irq, 1);
}
@@ -31,6 +33,8 @@ static void imx2_wdt_expired(void *opaque)
{
IMX2WdtState *s = IMX2_WDT(opaque);
+ trace_imx2_wdt_expired();
+
s->wrsr = IMX2_WDT_WRSR_TOUT;
/* Perform watchdog action if watchdog is enabled */