Add utility files for RD-Daniel Config-M

In preparation to add RD-Daniel Config-M platform to SCP and TF-A CI,
add config files for RD-Daniel FVP.

Change-Id: Ia89b4f7d20234ed7f3403e4faceba895b6460caf
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
diff --git a/model/css-rddaniel.sh b/model/css-rddaniel.sh
new file mode 100644
index 0000000..b08a81a
--- /dev/null
+++ b/model/css-rddaniel.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+# Tell FVP to use RNSAMs as internal in CMN-Rhodes.
+set_model_env "FASTSIM_CMN_INTERNAL_RNSAM" "1"
+
+set_model_path "$warehouse/SysGen/SubSystemModels/11.10/36/models/Linux64_GCC-6.4/FVP_RD_Daniel"
+
+cat <<EOF >"$model_param_file"
+-C css.cmn_rhodes.force_on_from_start=1
+-C css.mcp.ROMloader.fname=$mcp_rom_bin
+-C css.scp.ROMloader.fname=$scp_rom_bin
+--data css.scp.armcortexm7ct=$scp_ram_bin@$scp_ram_addr
+-C css.trustedBootROMloader.fname=$bl1_bin
+-C board.flashloader0.fname=$fip_bin
+-C board.virtioblockdevice.image_path=$busybox_bin
+-C css.pl011_uart_ap.unbuffered_output=1
+-C soc.pl011_uart0.unbuffered_output=1
+-C soc.pl011_uart1.unbuffered_output=1
+EOF
diff --git a/rddaniel_utils.sh b/rddaniel_utils.sh
new file mode 100644
index 0000000..3b258ef
--- /dev/null
+++ b/rddaniel_utils.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+source "$ci_root/fvp_utils.sh"
+
+sgi_prebuilts="${sgi_prebuilts:-$css_downloads/sgi/rddaniel}"
+
+fvp_kernels[fvp-sgi-busybox]="$sgi_prebuilts/Image"
+fvp_initrd_urls[fvp-sgi-ramdisk]="$sgi_prebuilts/ramdisk-busybox.img"
+
+scp_ram_addr=0x0bd80000
+mcp_ram_addr=0x0be00000
diff --git a/run_config/fvp-rddaniel b/run_config/fvp-rddaniel
new file mode 100644
index 0000000..d265810
--- /dev/null
+++ b/run_config/fvp-rddaniel
@@ -0,0 +1,32 @@
+#!/bin/bash
+#
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+fetch_tf_resource() {
+	#Fetch the pre-built SCP/MCP binaries if they haven't been built
+	if [ ! -f "$archive/mcp_rom.bin" ]; then
+		url="$sgi_prebuilts/mcp_rom.bin" fetch_file
+		archive_file "mcp_rom.bin"
+	fi
+	if [ ! -f "$archive/scp_ram.bin" ]; then
+		url="$sgi_prebuilts/scp_ram.bin" fetch_file
+		archive_file "scp_ram.bin"
+	fi
+	if [ ! -f "$archive/scp_rom.bin" ]; then
+		url="$sgi_prebuilts/scp_rom.bin" fetch_file
+		archive_file "scp_rom.bin"
+	fi
+
+	# Hold terminal_uart_aon
+	uart="2" file="hold_uart.exp" track_expect
+}
+
+post_fetch_tf_resource() {
+	model="css-rddaniel" gen_model_params
+	set_run_env "ports_script" "$ci_root/model/css-sgi575-ports.awk"
+	set_run_env "num_uarts" "3"
+	uart="0" set_expect_variable "num_cpus" "16"
+}