qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 07/11] usb/ehci: Add Xilinx ps7 USB controller


From: Peter Crosthwaite
Subject: [Qemu-devel] [PATCH v2 07/11] usb/ehci: Add Xilinx ps7 USB controller
Date: Fri, 26 Oct 2012 15:47:47 +1000

Definition of the USB controller implemented in Zynq.

Signed-off-by: Peter Crosthwaite <address@hidden>
---

 hw/usb/hcd-ehci.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 50a85d5..443038b 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -2746,6 +2746,16 @@ static TypeInfo ehci_info[] = {
             0x00,
             0x20,
         } }
+    }, {
+        .name          = "xlnx,ps7-usb",
+        .parent        = TYPE_SYS_BUS_DEVICE,
+        .instance_size = sizeof(EHCISysBusState),
+        .class_init    = ehci_sysbus_class_init,
+        .class_size    = sizeof(EHCIClass),
+        .class_data    = (EHCIClass[]) {{
+            .capabase = 0x100,
+            .opregbase = 0x140,
+        } }
     }, { .name = NULL }
 };
 
-- 
1.7.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]