[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 01/11] xilinx_uartlite: changed device name
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH v2 01/11] xilinx_uartlite: changed device name |
Date: |
Fri, 15 Jun 2012 13:32:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
Am 13.06.2012 06:46, schrieb Peter A. G. Crosthwaite:
> Changed device name to xlnx,xps-uartlite. This is the exact name of the device
> in the xilinx EDK development tools.
>
> Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Dito.
/-F
> ---
> hw/petalogix_s3adsp1800_mmu.c | 2 +-
> hw/xilinx_uartlite.c | 5 +++--
> 2 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c
> index f41c559..7d83c21 100644
> --- a/hw/petalogix_s3adsp1800_mmu.c
> +++ b/hw/petalogix_s3adsp1800_mmu.c
> @@ -104,7 +104,7 @@ petalogix_s3adsp1800_init(ram_addr_t ram_size,
> irq[i] = qdev_get_gpio_in(dev, i);
> }
>
> - sysbus_create_simple("xilinx,uartlite", UARTLITE_BASEADDR, irq[3]);
> + sysbus_create_simple("xlnx.xps-uartlite", UARTLITE_BASEADDR, irq[3]);
> /* 2 timers at irq 2 @ 62 Mhz. */
> xilinx_timer_create(TIMER_BASEADDR, irq[0], 2, 62 * 1000000);
> xilinx_ethlite_create(&nd_table[0], ETHLITE_BASEADDR, irq[1], 0, 0);
> diff --git a/hw/xilinx_uartlite.c b/hw/xilinx_uartlite.c
> index aa0170d..d0f32db 100644
> --- a/hw/xilinx_uartlite.c
> +++ b/hw/xilinx_uartlite.c
> @@ -202,7 +202,8 @@ static int xilinx_uartlite_init(SysBusDevice *dev)
> sysbus_init_irq(dev, &s->irq);
>
> uart_update_status(s);
> - memory_region_init_io(&s->mmio, &uart_ops, s, "xilinx-uartlite", R_MAX *
> 4);
> + memory_region_init_io(&s->mmio, &uart_ops, s, "xlnx.xps-uartlite",
> + R_MAX * 4);
> sysbus_init_mmio(dev, &s->mmio);
>
> s->chr = qemu_char_get_next_serial();
> @@ -219,7 +220,7 @@ static void xilinx_uartlite_class_init(ObjectClass
> *klass, void *data)
> }
>
> static TypeInfo xilinx_uartlite_info = {
> - .name = "xilinx,uartlite",
> + .name = "xlnx.xps-uartlite",
> .parent = TYPE_SYS_BUS_DEVICE,
> .instance_size = sizeof (struct xlx_uartlite),
> .class_init = xilinx_uartlite_class_init,
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [PATCH v2 00/11] Xilinx Devs: refactored device and property names, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 01/11] xilinx_uartlite: changed device name, Peter A. G. Crosthwaite, 2012/06/13
- Re: [Qemu-devel] [PATCH v2 01/11] xilinx_uartlite: changed device name,
Andreas Färber <=
- [Qemu-devel] [PATCH v2 02/11] xilinx_timer: added default frequency, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 03/11] xilinx_timer: changed nr_timers to one_timer_only, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 04/11] xilinx_timer: changed device name, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 05/11] xilinx_intc: changed device name, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 06/11] xilinx_ethlite: tweaked naming of ping-pong props, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 07/11] xilinx_ethlite: changed device name, Peter A. G. Crosthwaite, 2012/06/13
- [Qemu-devel] [PATCH v2 09/11] xilinx_axienet: changed device name, Peter A. G. Crosthwaite, 2012/06/13