diff options
Diffstat (limited to 'include/hw/xilinx.h')
-rw-r--r-- | include/hw/xilinx.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/hw/xilinx.h b/include/hw/xilinx.h index 02400cd854..a454cee647 100644 --- a/include/hw/xilinx.h +++ b/include/hw/xilinx.h @@ -7,21 +7,6 @@ #include "hw/stream.h" #include "net/net.h" -/* OPB Timer/Counter. */ -static inline DeviceState * -xilinx_timer_create(hwaddr base, qemu_irq irq, int oto, int freq) -{ - DeviceState *dev; - - dev = qdev_create(NULL, "xlnx.xps-timer"); - qdev_prop_set_uint32(dev, "one-timer-only", oto); - qdev_prop_set_uint32(dev, "clock-frequency", freq); - qdev_init_nofail(dev); - sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, base); - sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, irq); - return dev; -} - /* XPS Ethernet Lite MAC. */ static inline DeviceState * xilinx_ethlite_create(NICInfo *nd, hwaddr base, qemu_irq irq, |