tc: Add support for TC2 platform
This includes scp-boot-tests, AP boot tests and MISRA checks.
Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com>
Change-Id: I65962d77ceb1c034821049e37bb04488278a586e
diff --git a/run_config/fvp-tc2 b/run_config/fvp-tc2
new file mode 100644
index 0000000..865d6d0
--- /dev/null
+++ b/run_config/fvp-tc2
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2022, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+post_fetch_tf_resource() {
+ local model="tc2"
+
+ model="tc2" \
+ model_version="11.18" \
+ model_build="17" \
+ gen_model_params
+ set_run_env "ports_script" "$ci_root/model/tc-ports.awk"
+ set_run_env "num_uarts" "2"
+ uart="1" set_expect_variable "num_cpus" "8"
+ model="$model" gen_fvp_yaml
+}