mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
xilinx_timer: changed device name
Changed device name to xlnx,xps-timer. 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
abe098e4f9
commit
a61e4b07a3
2 changed files with 3 additions and 3 deletions
|
@ -218,7 +218,7 @@ static int xilinx_timer_init(SysBusDevice *dev)
|
|||
ptimer_set_freq(xt->ptimer, t->freq_hz);
|
||||
}
|
||||
|
||||
memory_region_init_io(&t->mmio, &timer_ops, t, "xilinx-timer",
|
||||
memory_region_init_io(&t->mmio, &timer_ops, t, "xlnx,xps-timer",
|
||||
R_MAX * 4 * num_timers(t));
|
||||
sysbus_init_mmio(dev, &t->mmio);
|
||||
return 0;
|
||||
|
@ -240,7 +240,7 @@ static void xilinx_timer_class_init(ObjectClass *klass, void *data)
|
|||
}
|
||||
|
||||
static TypeInfo xilinx_timer_info = {
|
||||
.name = "xilinx,timer",
|
||||
.name = "xlnx,xps-timer",
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(struct timerblock),
|
||||
.class_init = xilinx_timer_class_init,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue