summaryrefslogtreecommitdiffstats
path: root/hw/axis_dev88.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/axis_dev88.c')
-rw-r--r--hw/axis_dev88.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/axis_dev88.c b/hw/axis_dev88.c
index 5a913ec..74bc133 100644
--- a/hw/axis_dev88.c
+++ b/hw/axis_dev88.c
@@ -316,12 +316,12 @@ void axisdev88_init (ram_addr_t ram_size,
}
/* 2 timers. */
- etraxfs_timer_init(env, irq + 0x1b, nmi + 1, 0x3001e000);
- etraxfs_timer_init(env, irq + 0x1b, nmi + 1, 0x3005e000);
+ sysbus_create_varargs("etraxfs,timer", 0x3001e000, irq[0x1b], nmi[1], NULL);
+ sysbus_create_varargs("etraxfs,timer", 0x3005e000, irq[0x1b], nmi[1], NULL);
for (i = 0; i < 4; i++) {
sysbus_create_simple("etraxfs,serial", 0x30026000 + i * 0x2000,
- irq[0x14 + i]);
+ irq[0x14 + i]);
}
if (kernel_filename) {
OpenPOWER on IntegriCloud