diff options
| author | Paul Zimmerman | 2020-05-21 01:53:48 +0200 |
|---|---|---|
| committer | Peter Maydell | 2020-06-05 18:23:09 +0200 |
| commit | 60bf734e647f8a6e243766929813358c9fcd4335 (patch) | |
| tree | d52e267f07231b9bd87668c7cd9722b2252c6ef6 /include/hw | |
| parent | usb: add short-packet handling to usb-storage driver (diff) | |
| download | qemu-60bf734e647f8a6e243766929813358c9fcd4335.tar.gz qemu-60bf734e647f8a6e243766929813358c9fcd4335.tar.xz qemu-60bf734e647f8a6e243766929813358c9fcd4335.zip | |
wire in the dwc-hsotg (dwc2) USB host controller emulation
Wire the dwc-hsotg (dwc2) emulation into Qemu
Signed-off-by: Paul Zimmerman <pauldzim@gmail.com>
Reviewed-by: Philippe Mathieu-Daude <f4bug@amsat.org>
Message-id: 20200520235349.21215-7-pauldzim@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/arm/bcm2835_peripherals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/arm/bcm2835_peripherals.h b/include/hw/arm/bcm2835_peripherals.h index 7a7a8f6141..48a0ad1633 100644 --- a/include/hw/arm/bcm2835_peripherals.h +++ b/include/hw/arm/bcm2835_peripherals.h @@ -27,6 +27,7 @@ #include "hw/sd/bcm2835_sdhost.h" #include "hw/gpio/bcm2835_gpio.h" #include "hw/timer/bcm2835_systmr.h" +#include "hw/usb/hcd-dwc2.h" #include "hw/misc/unimp.h" #define TYPE_BCM2835_PERIPHERALS "bcm2835-peripherals" @@ -67,7 +68,7 @@ typedef struct BCM2835PeripheralState { UnimplementedDeviceState ave0; UnimplementedDeviceState bscsl; UnimplementedDeviceState smi; - UnimplementedDeviceState dwc2; + DWC2State dwc2; UnimplementedDeviceState sdramc; } BCM2835PeripheralState; |
