Add Morello platform to the CI

Add an SCP boot test config for the Morello platform.

Signed-off-by: Anurag Koul <anurag.koul@arm.com>
Change-Id: Ia64359a8793d9f4c7bc5bbc1838e5ed834d3b27f
diff --git a/model/morello-ports.awk b/model/morello-ports.awk
new file mode 100644
index 0000000..35a5bf5
--- /dev/null
+++ b/model/morello-ports.awk
@@ -0,0 +1,15 @@
+#
+# Copyright (c) 2021 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+/terminal_uart0/ { ports[0] = $NF }
+/terminal_uart_ap/ { ports[1] = $NF }
+/terminal_uart_aon/ { ports[2] = $NF }
+END {
+	for (i = 0; i < num_uarts; i++) {
+		if (ports[i] != "")
+			print "ports[" i "]=" ports[i]
+	}
+}
diff --git a/model/morello.sh b/model/morello.sh
new file mode 100644
index 0000000..cc78c9c
--- /dev/null
+++ b/model/morello.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2021 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+set_model_path "$warehouse/SysGen/SubSystemModels/$model_version/$model_build/models/$model_flavour/FVP_Morello"
+
+cat <<EOF >"$model_param_file"
+--data Morello_Top.css.scp.armcortexm7ct=$archive/scp_rom.bin@0x0
+--data Morello_Top.css.mcp.armcortexm7ct=$archive/mcp_rom.bin@0x0
+-C Morello_Top.soc.scp_qspi_loader.fname=$scp_fw_bin
+-C Morello_Top.soc.mcp_qspi_loader.fname=$mcp_fw_bin
+--data $uefi_bin@${uefi_addr:?}
+-C board.virtioblockdevice.image_path=$busybox_bin
+${uart1_out+-C css.pl011_uart_ap.out_file=$uart1_out}
+${uart1_out+-C css.pl011_uart_ap.unbuffered_output=1}
+${uart2_out+-C css.scp.pl011_uart_scp.out_file=$uart2_out}
+${uart0_out+-C css.mcp.pl011_uart0_mcp.out_file=$uart0_out}
+-C css.scp.armcortexm7ct.INITVTOR=0x0
+-C css.mcp.armcortexm7ct.INITVTOR=0x0
+-C board.virtio_rng.enabled=1
+-C board.virtio_rng.seed=0
+-C displayController=0
+-C num_clusters=2
+-C num_cores=2
+-C css.diagnostics=4
+EOF