diff options
Diffstat (limited to 'hw/xilinx.h')
-rw-r--r-- | hw/xilinx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h index df06a001d3..45a6bdc190 100644 --- a/hw/xilinx.h +++ b/hw/xilinx.h @@ -23,7 +23,7 @@ xilinx_timer_create(target_phys_addr_t base, qemu_irq irq, int oto, int freq) dev = qdev_create(NULL, "xlnx.xps-timer"); qdev_prop_set_uint32(dev, "one-timer-only", oto); - qdev_prop_set_uint32(dev, "frequency", freq); + qdev_prop_set_uint32(dev, "clock-frequency", freq); qdev_init_nofail(dev); sysbus_mmio_map(sysbus_from_qdev(dev), 0, base); sysbus_connect_irq(sysbus_from_qdev(dev), 0, irq); |