tc: add config for running spm tests of TC2
Move the common functions for signing an Image and updating the fip
when loading using RSS to the rss_utils.sh file
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: I779f629827e3053c34bde59706272084f02ebca0
diff --git a/tf_config/fvp-tc2-spm b/tf_config/fvp-tc2-spm
new file mode 100644
index 0000000..c164d2f
--- /dev/null
+++ b/tf_config/fvp-tc2-spm
@@ -0,0 +1,12 @@
+ARM_ARCH_MINOR=5
+BRANCH_PROTECTION=1
+CROSS_COMPILE=aarch64-none-elf-
+CTX_INCLUDE_EL2_REGS=1
+CTX_INCLUDE_PAUTH_REGS=1
+CTX_INCLUDE_MTE_REGS=1
+ENABLE_SVE_FOR_SWD=1
+PLAT=tc
+SCP_BL2=/dev/null
+SPD=spmd
+SP_LAYOUT_FILE=${tftf_root}/build/tc/${bin_mode}/sp_layout.json
+TARGET_PLATFORM=2