diff options
author | Paul Brook <paul@codesourcery.com> | 2010-04-04 21:18:26 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-04-04 21:18:26 +0100 |
commit | a67ba3b6f88acaca5ee19e583dcdcd9d9288b072 (patch) | |
tree | 74dc47a3e28269c9b14fe354892b8eca295c9f67 /hw/pxa2xx.c | |
parent | 36368cf0d513efff45b0dbb4350cdc04a2bee0c8 (diff) |
Revert "Compile usb-ohci only once"
This reverts commit f1698408f1dcb7548a21828a0b1e2b530fae3af3.
PCI is always little-endian. Having a user-visible "be" property is just
plain wrong.
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 4f9b95bc4d..ea62c0b002 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -9,7 +9,6 @@ #include "sysbus.h" #include "pxa.h" -#include "usb-ohci.h" #include "sysemu.h" #include "pc.h" #include "i2c.h" @@ -2129,11 +2128,7 @@ PXA2xxState *pxa270_init(unsigned int sdram_size, const char *revision) } if (usb_enabled) { -#ifdef TARGET_WORDS_BIGENDIAN - usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1], 1); -#else - usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1], 0); -#endif + usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1]); } s->pcmcia[0] = pxa2xx_pcmcia_init(0x20000000); @@ -2252,11 +2247,7 @@ PXA2xxState *pxa255_init(unsigned int sdram_size) } if (usb_enabled) { -#ifdef TARGET_WORDS_BIGENDIAN - usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1], 1); -#else - usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1], 0); -#endif + usb_ohci_init_pxa(0x4c000000, 3, -1, s->pic[PXA2XX_PIC_USBH1]); } s->pcmcia[0] = pxa2xx_pcmcia_init(0x20000000); |