Initial commit for TF-A CI scripts

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
diff --git a/run_config/juno-tftf.fwu b/run_config/juno-tftf.fwu
new file mode 100644
index 0000000..dc9bccc
--- /dev/null
+++ b/run_config/juno-tftf.fwu
@@ -0,0 +1,34 @@
+#!/bin/bash
+#
+# Copyright (c) 2019, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tftf_build() {
+	# Build TFTF and FWU images for this config
+	targets="tftf ns_bl1u ns_bl2u" set_tftf_build_targets
+}
+
+# Perform FWU steps after all build products have been archived.
+post_tf_build() {
+	get_scp_bl2_bin
+	fip_targets="fip fwu_fip" build_fip \
+		BL33="$archive/tftf.bin" \
+		SCP_BL2="$archive/scp_bl2.bin" \
+		SCP_BL2U="$archive/scp_bl2.bin" \
+		NS_BL2U="$archive/ns_bl2u.bin"
+}
+
+post_tf_archive() {
+	echo "Backing up FIP..."
+	cp "$archive/fip.bin" "$archive/bkp_fip.bin"
+
+	image_txt="$ci_root/res/juno_fwu_images.txt" \
+		gen_recovery_image \
+		"$archive/bl1.bin" \
+		"$archive/fip.bin" \
+		"$archive/bkp_fip.bin" \
+		"$archive/fwu_fip.bin" \
+		"$archive/ns_bl1u.bin"
+}