qemu-e2k/hw/mips
Paolo Bonzini b98948a902 hw/mips/loongson3_virt: do not require CONFIG_USB
Once the Kconfig for hw/mips is cleaned up, it will be possible to build a
binary that does not include any USB host controller and therefore that
does not include the code guarded by CONFIG_USB.  While the simpler
creation functions such as usb_create_simple can be inlined, this is not
true of usb_bus_find().  Remove it, replacing it with a search of the
single USB bus created by loongson3_virt_devices_init().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240223124406.234509-5-pbonzini@redhat.com>
[PMD: Fixed style]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-02-27 09:37:11 +01:00
..
bootloader.c hw/mips/bootloader: Implement nanoMIPS JALRc opcode generator 2023-01-13 09:32:32 +01:00
boston.c hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs() 2024-02-15 16:58:46 +01:00
cps.c hw/misc/mips_itu: Remove MIPSITUState::cpu0 field 2024-02-15 15:53:12 +01:00
fuloong2e.c hw/mips/fuloong2e: use pci_init_nic_devices() 2024-02-02 16:23:47 +00:00
fw_cfg.c hw/mips: Implement fw_cfg_arch_key_name() 2021-01-04 23:32:27 +01:00
fw_cfg.h hw/mips: Implement fw_cfg_arch_key_name() 2021-01-04 23:32:27 +01:00
jazz.c hw/dma: Pass parent object to i8257_dma_init() 2024-02-15 16:58:46 +01:00
Kconfig hw/isa: extract FDC37M81X to a separate file 2024-02-15 16:58:46 +01:00
loongson3_bootp.c hw/mips: Add Loongson-3 boot parameter helpers 2021-01-04 23:33:38 +01:00
loongson3_bootp.h loongson3: correct typos 2024-02-20 22:21:21 +03:00
loongson3_virt.c hw/mips/loongson3_virt: do not require CONFIG_USB 2024-02-27 09:37:11 +01:00
malta.c hw/mips/malta: use pci_init_nic_devices() 2024-02-02 16:23:47 +00:00
meson.build meson: rename config_all 2023-12-31 09:11:28 +01:00
mips_int.c qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD 2024-01-08 10:45:43 -05:00
mipssim.c hw/sysbus: Inline and remove sysbus_add_io() 2024-02-22 12:47:40 +01:00
trace-events hw/mips/gt64xxx_pci: Move it to hw/pci-host/ 2023-01-13 09:32:32 +01:00
trace.h