summaryrefslogtreecommitdiff
path: root/hw/versatilepb.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-04-04 21:18:26 +0100
committerPaul Brook <paul@codesourcery.com>2010-04-04 21:18:26 +0100
commita67ba3b6f88acaca5ee19e583dcdcd9d9288b072 (patch)
tree74dc47a3e28269c9b14fe354892b8eca295c9f67 /hw/versatilepb.c
parent36368cf0d513efff45b0dbb4350cdc04a2bee0c8 (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/versatilepb.c')
-rw-r--r--hw/versatilepb.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index a96210697..391f5b88c 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -218,11 +218,7 @@ static void versatile_init(ram_addr_t ram_size,
}
}
if (usb_enabled) {
-#ifdef TARGET_WORDS_BIGENDIAN
- usb_ohci_init_pci(pci_bus, -1, 1);
-#else
- usb_ohci_init_pci(pci_bus, -1, 0);
-#endif
+ usb_ohci_init_pci(pci_bus, -1);
}
n = drive_get_max_bus(IF_SCSI);
while (n >= 0) {