[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH 2/2] a9mpcore: use watchdog
From: |
Rabin Vincent |
Subject: |
[Qemu-arm] [PATCH 2/2] a9mpcore: use watchdog |
Date: |
Wed, 9 Dec 2015 11:26:48 +0100 |
Use the watchdog variant of the MPCore timer for the watchdog block.
Signed-off-by: Rabin Vincent <address@hidden>
---
hw/cpu/a9mpcore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/cpu/a9mpcore.c b/hw/cpu/a9mpcore.c
index 869818c..9a5474b 100644
--- a/hw/cpu/a9mpcore.c
+++ b/hw/cpu/a9mpcore.c
@@ -36,7 +36,7 @@ static void a9mp_priv_initfn(Object *obj)
object_initialize(&s->mptimer, sizeof(s->mptimer), TYPE_ARM_MPTIMER);
qdev_set_parent_bus(DEVICE(&s->mptimer), sysbus_get_default());
- object_initialize(&s->wdt, sizeof(s->wdt), TYPE_ARM_MPTIMER);
+ object_initialize(&s->wdt, sizeof(s->wdt), TYPE_ARM_MPTIMER_WDOG);
qdev_set_parent_bus(DEVICE(&s->wdt), sysbus_get_default());
}
--
1.7.10.4