diff options
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r-- | hw/versatilepb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c index 391f5b88c6..a962106976 100644 --- a/hw/versatilepb.c +++ b/hw/versatilepb.c @@ -218,7 +218,11 @@ static void versatile_init(ram_addr_t ram_size, } } if (usb_enabled) { - usb_ohci_init_pci(pci_bus, -1); +#ifdef TARGET_WORDS_BIGENDIAN + usb_ohci_init_pci(pci_bus, -1, 1); +#else + usb_ohci_init_pci(pci_bus, -1, 0); +#endif } n = drive_get_max_bus(IF_SCSI); while (n >= 0) { |