summaryrefslogtreecommitdiff
path: root/hw/arm/xlnx-ep108.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2016-06-06 16:59:32 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-06-06 16:59:32 +0100
commit0c18c6c67e06859ef354b697cce567ebe29061f1 (patch)
treea00c97255db11fc654c09349c06fc3581b872e02 /hw/arm/xlnx-ep108.c
parent6e99f762612827afeff54add2e4fc2c3b2657fed (diff)
downloadqemu-0c18c6c67e06859ef354b697cce567ebe29061f1.zip
zynqmp: Add the ZCU102 board
Most Zynq UltraScale+ users will be targetting and using the ZCU102 board instead of the development focused EP108. To make our QEMU machine names clearer add a ZCU102 machine model. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: cc82eec026b2febfca252d73362bb7084616c1ad.1464213234.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/xlnx-ep108.c')
-rw-r--r--hw/arm/xlnx-ep108.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/arm/xlnx-ep108.c b/hw/arm/xlnx-ep108.c
index 40f7cc1425..34b4641712 100644
--- a/hw/arm/xlnx-ep108.c
+++ b/hw/arm/xlnx-ep108.c
@@ -114,3 +114,11 @@ static void xlnx_ep108_machine_init(MachineClass *mc)
}
DEFINE_MACHINE("xlnx-ep108", xlnx_ep108_machine_init)
+
+static void xlnx_zcu102_machine_init(MachineClass *mc)
+{
+ mc->desc = "Xilinx ZynqMP ZCU102 board";
+ mc->init = xlnx_ep108_init;
+}
+
+DEFINE_MACHINE("xlnx-zcu102", xlnx_zcu102_machine_init)