OSDN Git Service

hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 31 Jan 2021 18:44:47 +0000 (19:44 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 3 Feb 2021 10:15:50 +0000 (10:15 +0000)
The Versal SoC instantiates the TYPE_XLNX_ZYNQMP_RTC object in
versal_create_rtc()(). Select CONFIG_XLNX_ZYNQMP to fix:

  $ make check-qtest-aarch64
  ...
  Running test qtest-aarch64/qom-test
  qemu-system-aarch64: missing object type 'xlnx-zynmp.rtc'
  Broken pipe

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210131184449.382425-5-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/Kconfig

index 0929888..be017b9 100644 (file)
@@ -364,6 +364,7 @@ config XLNX_VERSAL
     select VIRTIO_MMIO
     select UNIMP
     select XLNX_ZDMA
+    select XLNX_ZYNQMP
 
 config NPCM7XX
     bool