diff options
author | Paul Brook <paul@codesourcery.com> | 2010-04-05 19:57:40 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-04-05 19:57:40 +0100 |
commit | 61d3cf93e2676282ba1a8d568b2406257f208b26 (patch) | |
tree | 43fc3b106d24bdf1c474a23857873974e1b2235f /hw/pxa2xx.c | |
parent | 4f78c9ad5a6076a37a944ededfbec508861103f7 (diff) |
OHCI qdev conversion
Convert remaining OHCI devices to QDEV interface.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index ea62c0b002..909538653c 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -2128,7 +2128,8 @@ PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision) } if (usb_enabled) { - usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1]); + sysbus_create_simple("sysbus-ohci", 0x4c000000, + s->pic[PXA2XX_PIC_USBH1]); } s->pcmcia[0] = pxa2xx_pcmcia_init(0x20000000); @@ -2247,7 +2248,8 @@ PXA2xxState *pxa255_init(unsigned int sdram_size) } if (usb_enabled) { - usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1]); + sysbus_create_simple("sysbus-ohci", 0x4c000000, + s->pic[PXA2XX_PIC_USBH1]); } s->pcmcia[0] = pxa2xx_pcmcia_init(0x20000000); |