All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 1/1] zynqmp: Add the ZCU102 board
@ 2016-05-25 21:57 Alistair Francis
  2016-06-06 14:35 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Alistair Francis @ 2016-05-25 21:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: alistair.francis, crosthwaitepeter, peter.maydell,
	edgar.iglesias, edgar.iglesias, cyrilc

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>
---
There are differences between the two boards, but at the moment we don't
support those differences in QEMU so it doesn't make sense to use a new
init function. So for the time being this machine is the same as the
EP108 machine.

 hw/arm/xlnx-ep108.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/hw/arm/xlnx-ep108.c b/hw/arm/xlnx-ep108.c
index 40f7cc1..34b4641 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)
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH v1 1/1] zynqmp: Add the ZCU102 board
  2016-05-25 21:57 [Qemu-devel] [PATCH v1 1/1] zynqmp: Add the ZCU102 board Alistair Francis
@ 2016-06-06 14:35 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2016-06-06 14:35 UTC (permalink / raw)
  To: Alistair Francis
  Cc: QEMU Developers, Peter Crosthwaite, Edgar Iglesias,
	Edgar E. Iglesias, cyrilc

On 25 May 2016 at 22:57, Alistair Francis <alistair.francis@xilinx.com> wrote:
> 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>
> ---

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-06 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 21:57 [Qemu-devel] [PATCH v1 1/1] zynqmp: Add the ZCU102 board Alistair Francis
2016-06-06 14:35 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.