Skip to contentSkip to conversation

hw/arm: Add missing ZynqMP ZCU102 -> USB_DWC3 Kconfig dependency

PATCH Applied Philippe Mathieu-Daudé 3 participants 4 messages Feb 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/arm: Add missing ZynqMP ZCU102 -> USB_DWC3 Kconfig dependency

Since commit acc0b8b05a when running the ZynqMP ZCU102 board with a QEMU configured using --without-default-devices, we get:

  $ qemu-system-aarch64 -M xlnx-zcu102
  qemu-system-aarch64: missing object type 'usb_dwc3'
  Abort trap: 6

Fix by adding the missing Kconfig dependency.

Fixes acc0b8b05a ("hw/arm/xlnx-zynqmp: Connect ZynqMP's USB controllers")
---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
index 2d157de9b8..b5aed4aff5 100644
@@ -389,6 +389,7 @@ config XLNX_ZYNQMP_ARM
     select XLNX_CSU_DMA
     select XLNX_ZYNQMP
     select XLNX_ZDMA
+    select USB_DWC3
 
 config XLNX_VERSAL
     bool
Signature · 1 line
2.38.1
#1 lore raw

Oops I meant this as subject:
"hw/arm: Add missing XLNX_ZYNQMP_ARM -> USB_DWC3 Kconfig dependency"

Quoted 27 lines · Philippe Mathieu-Daudé

Since commit acc0b8b05a when running the ZynqMP ZCU102 board with a QEMU configured using --without-default-devices, we get:

   $ qemu-system-aarch64 -M xlnx-zcu102
   qemu-system-aarch64: missing object type 'usb_dwc3'
   Abort trap: 6

Fix by adding the missing Kconfig dependency.

Fixes acc0b8b05a ("hw/arm/xlnx-zynqmp: Connect ZynqMP's USB controllers")
---
  hw/arm/Kconfig | 1 +
  1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
index 2d157de9b8..b5aed4aff5 100644
@@ -389,6 +389,7 @@ config XLNX_ZYNQMP_ARM
      select XLNX_CSU_DMA
      select XLNX_ZYNQMP
      select XLNX_ZDMA
+    select USB_DWC3
 
  config XLNX_VERSAL
      bool
#2 lore raw
Quoted 16 lines · Philippe Mathieu-Daudé

Oops I meant this as subject:
"hw/arm: Add missing XLNX_ZYNQMP_ARM -> USB_DWC3 Kconfig dependency"

Quoted 11 lines · Philippe Mathieu-Daudé

Since commit acc0b8b05a when running the ZynqMP ZCU102 board with a QEMU configured using --without-default-devices, we get:

   $ qemu-system-aarch64 -M xlnx-zcu102
   qemu-system-aarch64: missing object type 'usb_dwc3'
   Abort trap: 6

Fix by adding the missing Kconfig dependency.

Fixes acc0b8b05a ("hw/arm/xlnx-zynqmp: Connect ZynqMP's USB controllers")

Applied to target-arm.next with the subject line fixed, thanks.

-- PMM

Reviewed-by on v1 1/1
#3 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé

Since commit acc0b8b05a when running the ZynqMP ZCU102 board with a QEMU configured using --without-default-devices, we get:

   $ qemu-system-aarch64 -M xlnx-zcu102
   qemu-system-aarch64: missing object type 'usb_dwc3'
   Abort trap: 6

Fix by adding the missing Kconfig dependency.

Fixes acc0b8b05a ("hw/arm/xlnx-zynqmp: Connect ZynqMP's USB controllers")
Quoted 16 lines
---
  hw/arm/Kconfig | 1 +
  1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
index 2d157de9b8..b5aed4aff5 100644
@@ -389,6 +389,7 @@ config XLNX_ZYNQMP_ARM
      select XLNX_CSU_DMA
      select XLNX_ZYNQMP
      select XLNX_ZDMA
+    select USB_DWC3
 
  config XLNX_VERSAL
      bool