aboutsummaryrefslogtreecommitdiff
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/sm501.c
parenttcg/ppc: Fix not_i32 (diff)
downloadqemu-kvm-a67ba3b6f88acaca5ee19e583dcdcd9d9288b072.tar.gz
qemu-kvm-a67ba3b6f88acaca5ee19e583dcdcd9d9288b072.tar.bz2
qemu-kvm-a67ba3b6f88acaca5ee19e583dcdcd9d9288b072.zip
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/sm501.c')
-rw-r--r--hw/sm501.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/sm501.c b/hw/sm501.c
index 41ef3bff7..1a342bdc5 100644
--- a/hw/sm501.c
+++ b/hw/sm501.c
@@ -1222,13 +1222,8 @@ void sm501_init(uint32_t base, uint32_t local_mem_bytes, qemu_irq irq,
0x1000, sm501_disp_ctrl_index);
/* bridge to usb host emulation module */
-#ifdef TARGET_WORDS_BIGENDIAN
- usb_ohci_init_sm501(base + MMIO_BASE_OFFSET + SM501_USB_HOST, base,
- 2, -1, irq, 1);
-#else
usb_ohci_init_sm501(base + MMIO_BASE_OFFSET + SM501_USB_HOST, base,
- 2, -1, irq, 0);
-#endif
+ 2, -1, irq);
/* bridge to serial emulation module */
if (chr) {