aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2020-04-27 20:16:43 +0200
committerPeter Maydell <peter.maydell@linaro.org>2020-05-04 11:11:06 +0100
commit4bd9b59c05bda9c5a8df84ea63292a9471120b02 (patch)
tree9e7e3eba1bb1bc1d14bf0e2e234499d289fe88d0 /include
parent88052ffdd1df6cfe8160662fd4a8cc69f7be63bc (diff)
downloadqemu-4bd9b59c05bda9c5a8df84ea63292a9471120b02.zip
qemu-4bd9b59c05bda9c5a8df84ea63292a9471120b02.tar.gz
qemu-4bd9b59c05bda9c5a8df84ea63292a9471120b02.tar.bz2
hw/arm: versal: Embed the GEMs into the SoC type
Embed the GEMs into the SoC type. Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Luc Michel <luc.michel@greensocs.com> Message-id: 20200427181649.26851-6-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/xlnx-versal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h
index a3dfd06..01da736 100644
--- a/include/hw/arm/xlnx-versal.h
+++ b/include/hw/arm/xlnx-versal.h
@@ -16,6 +16,7 @@
#include "hw/arm/boot.h"
#include "hw/intc/arm_gicv3.h"
#include "hw/char/pl011.h"
+#include "hw/net/cadence_gem.h"
#define TYPE_XLNX_VERSAL "xlnx-versal"
#define XLNX_VERSAL(obj) OBJECT_CHECK(Versal, (obj), TYPE_XLNX_VERSAL)
@@ -51,7 +52,7 @@ typedef struct Versal {
struct {
PL011State uart[XLNX_VERSAL_NR_UARTS];
- SysBusDevice *gem[XLNX_VERSAL_NR_GEMS];
+ CadenceGEMState gem[XLNX_VERSAL_NR_GEMS];
SysBusDevice *adma[XLNX_VERSAL_NR_ADMAS];
} iou;
} lpd;