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/sm501.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/sm501.c')
-rw-r--r-- | hw/sm501.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/sm501.c b/hw/sm501.c index 41ef3bff7a..1a342bdc58 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) { |