xilinx_intc: changed device name
Changed device name to xlnx,xps-intc. This is the exact name of the device in the xilinx EDK development tools. Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
a61e4b07a3
commit
24739ab4bb
@ -6,7 +6,7 @@ xilinx_intc_create(target_phys_addr_t base, qemu_irq irq, int kind_of_intr)
|
||||
{
|
||||
DeviceState *dev;
|
||||
|
||||
dev = qdev_create(NULL, "xilinx,intc");
|
||||
dev = qdev_create(NULL, "xlnx.xps-intc");
|
||||
qdev_prop_set_uint32(dev, "kind-of-intr", kind_of_intr);
|
||||
qdev_init_nofail(dev);
|
||||
sysbus_mmio_map(sysbus_from_qdev(dev), 0, base);
|
||||
|
@ -156,7 +156,7 @@ static int xilinx_intc_init(SysBusDevice *dev)
|
||||
qdev_init_gpio_in(&dev->qdev, irq_handler, 32);
|
||||
sysbus_init_irq(dev, &p->parent_irq);
|
||||
|
||||
memory_region_init_io(&p->mmio, &pic_ops, p, "xilinx-pic", R_MAX * 4);
|
||||
memory_region_init_io(&p->mmio, &pic_ops, p, "xlnx.xps-intc", R_MAX * 4);
|
||||
sysbus_init_mmio(dev, &p->mmio);
|
||||
return 0;
|
||||
}
|
||||
@ -176,7 +176,7 @@ static void xilinx_intc_class_init(ObjectClass *klass, void *data)
|
||||
}
|
||||
|
||||
static TypeInfo xilinx_intc_info = {
|
||||
.name = "xilinx,intc",
|
||||
.name = "xlnx.xps-intc",
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(struct xlx_pic),
|
||||
.class_init = xilinx_intc_class_init,
|
||||
|
Loading…
Reference in New Issue
Block a user