[PATCH 16/21] hw/arm/beckhoff_CX7200: Remove usb interfaces

Corvin Köhne posted 21 patches 2 weeks, 1 day ago
There is a newer version of this series
[PATCH 16/21] hw/arm/beckhoff_CX7200: Remove usb interfaces
Posted by Corvin Köhne 2 weeks, 1 day ago
From: YannickV <Y.Vossen@beckhoff.com>

The CX7200 does not support usb interfaces. That is why they
are removed.

Signed-off-by: Yannick Voßen <y.vossen@beckhoff.com>
---
 hw/arm/Kconfig           | 1 -
 hw/arm/beckhoff_CX7200.c | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 8727b3e837..a8648b9edf 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -322,7 +322,6 @@ config BECK_CX7200
     select PL330
     select SDHCI
     select SSI_M25P80
-    select USB_EHCI_SYSBUS
     select XILINX # UART
     select XILINX_AXI
     select XILINX_SPI
diff --git a/hw/arm/beckhoff_CX7200.c b/hw/arm/beckhoff_CX7200.c
index 1e7152e871..efce3be395 100644
--- a/hw/arm/beckhoff_CX7200.c
+++ b/hw/arm/beckhoff_CX7200.c
@@ -28,7 +28,6 @@
 #include "hw/loader.h"
 #include "hw/adc/zynq-xadc.h"
 #include "hw/ssi/ssi.h"
-#include "hw/usb/chipidea.h"
 #include "qemu/error-report.h"
 #include "hw/sd/sdhci.h"
 #include "hw/char/cadence_uart.h"
@@ -280,9 +279,6 @@ static void beckhoff_cx7200_init(MachineState *machine)
     n = beckhoff_cx7200_init_spi_flashes(0xE000D000, pic[51 - IRQ_OFFSET],
                                          true, n);
 
-    sysbus_create_simple(TYPE_CHIPIDEA, 0xE0002000, pic[53 - IRQ_OFFSET]);
-    sysbus_create_simple(TYPE_CHIPIDEA, 0xE0003000, pic[76 - IRQ_OFFSET]);
-
     dev = qdev_new(TYPE_CADENCE_UART);
     busdev = SYS_BUS_DEVICE(dev);
     qdev_prop_set_chr(dev, "chardev", serial_hd(0));
-- 
2.49.0