summaryrefslogtreecommitdiffstats
path: root/hw/xilinx.h
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2012-06-29 13:20:46 +1000
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-09-19 18:48:08 +0200
commit919f89f44c7e3a8dee6a0f0eebd0cc81766da612 (patch)
tree650ffa12427118165a24f66c3a56f2e1f43d656b /hw/xilinx.h
parente03377ae75808d33d0a7afc803b37bcda9f796b3 (diff)
downloadhqemu-919f89f44c7e3a8dee6a0f0eebd0cc81766da612.zip
hqemu-919f89f44c7e3a8dee6a0f0eebd0cc81766da612.tar.gz
xilinx_timer: Fixed "frequency" prop name
The "frequency" qdev prop matches the "clock-frequency" property in Xilinx EDK. Renamed "frequency" -> "clock-frequency" accordingly. Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Diffstat (limited to 'hw/xilinx.h')
-rw-r--r--hw/xilinx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h
index df06a00..45a6bdc 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);
OpenPOWER on IntegriCloud