hw/arm/xlnx-versal: Versal SoC requires ZDMA
The Versal SoC instantiates the TYPE_XLNX_ZDMA object in versal_create_admas(). Introduce the XLNX_ZDMA configuration and select it to fix: $ qemu-system-aarch64 -M xlnx-versal-virt ... qemu-system-aarch64: missing object type 'xlnx.zdma' Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210131184449.382425-4-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
5900c7a6d4
commit
6bfaec73a1
@ -354,6 +354,7 @@ config XLNX_ZYNQMP_ARM
|
||||
select XILINX_AXI
|
||||
select XILINX_SPIPS
|
||||
select XLNX_ZYNQMP
|
||||
select XLNX_ZDMA
|
||||
|
||||
config XLNX_VERSAL
|
||||
bool
|
||||
@ -362,6 +363,7 @@ config XLNX_VERSAL
|
||||
select CADENCE
|
||||
select VIRTIO_MMIO
|
||||
select UNIMP
|
||||
select XLNX_ZDMA
|
||||
|
||||
config NPCM7XX
|
||||
bool
|
||||
|
@ -18,6 +18,9 @@ config ZYNQ_DEVCFG
|
||||
bool
|
||||
select REGISTER
|
||||
|
||||
config XLNX_ZDMA
|
||||
bool
|
||||
|
||||
config STP2000
|
||||
bool
|
||||
|
||||
|
@ -9,7 +9,7 @@ softmmu_ss.add(when: 'CONFIG_ZYNQ_DEVCFG', if_true: files('xlnx-zynq-devcfg.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_dma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_STP2000', if_true: files('sparc32_dma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx_dpdma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zdma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_XLNX_ZDMA', if_true: files('xlnx-zdma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_dma.c', 'soc_dma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_dma.c'))
|
||||
softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_dma.c'))
|
||||
|
Loading…
Reference in New Issue
Block a user