Re: [PATCH v3 4/6] hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals

2021-02-01 Thread Alistair Francis
On Sun, Jan 31, 2021 at 10:51 AM Philippe Mathieu-Daudé  wrote:
>
> 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é 

Reviewed-by: Alistair Francis 

Alistair

> ---
> Cc: Alistair Francis 
> Cc: "Edgar E. Iglesias" 
> ---
>  hw/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> index 09298881f2f..be017b997ab 100644
> --- a/hw/arm/Kconfig
> +++ b/hw/arm/Kconfig
> @@ -364,6 +364,7 @@ config XLNX_VERSAL
>  select VIRTIO_MMIO
>  select UNIMP
>  select XLNX_ZDMA
> +select XLNX_ZYNQMP
>
>  config NPCM7XX
>  bool
> --
> 2.26.2
>
>



[PATCH v3 4/6] hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals

2021-01-31 Thread Philippe Mathieu-Daudé
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é 
---
Cc: Alistair Francis 
Cc: "Edgar E. Iglesias" 
---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 09298881f2f..be017b997ab 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -364,6 +364,7 @@ config XLNX_VERSAL
 select VIRTIO_MMIO
 select UNIMP
 select XLNX_ZDMA
+select XLNX_ZYNQMP
 
 config NPCM7XX
 bool
-- 
2.26.2