diff mbox series

[PULL,7/9] xlnx-zcu102: Specify the max number of CPUs for the EP108

Message ID 1510582304-27058-8-git-send-email-peter.maydell@linaro.org
State Accepted
Commit 1342b0355ed943ca4ad4e67e03390b69476b8a6b
Headers show
Series target-arm queue | expand

Commit Message

Peter Maydell Nov. 13, 2017, 2:11 p.m. UTC
From: "Emilio G. Cota" <cota@braap.org>


Just like the zcu102, the ep108 can instantiate several CPUs.

Signed-off-by: Emilio G. Cota <cota@braap.org>

Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>

Message-id: 1510343626-25861-5-git-send-email-cota@braap.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

---
 hw/arm/xlnx-zcu102.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4
diff mbox series

Patch

diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c
index adddd23..190eb69 100644
--- a/hw/arm/xlnx-zcu102.c
+++ b/hw/arm/xlnx-zcu102.c
@@ -188,6 +188,7 @@  static void xlnx_ep108_machine_class_init(ObjectClass *oc, void *data)
     mc->block_default_type = IF_IDE;
     mc->units_per_default_bus = 1;
     mc->ignore_memory_transaction_failures = true;
+    mc->max_cpus = XLNX_ZYNQMP_NUM_APU_CPUS + XLNX_ZYNQMP_NUM_RPU_CPUS;
 }
 
 static const TypeInfo xlnx_ep108_machine_init_typeinfo = {