]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
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 09298881f2f3ba3a9d0e147d0e312fa4230e8a05..be017b997abfeec3c1283b8bc20340058a9265d5 100644 (file)
@@ -364,6 +364,7 @@ config XLNX_VERSAL
     select VIRTIO_MMIO
     select UNIMP
     select XLNX_ZDMA
+    select XLNX_ZYNQMP
 
 config NPCM7XX
     bool