aboutsummaryrefslogtreecommitdiff
path: root/hw/realview.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/realview.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/realview.c')
-rw-r--r--hw/realview.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/realview.c b/hw/realview.c
index c102ddca00..f786699a1c 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -266,11 +266,7 @@ static void realview_init(ram_addr_t ram_size,
pic[48], pic[49], pic[50], pic[51], NULL);
pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci");
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) {