SC7180: Enable LAVA test job submission

    It runs BL31 boot test on Lazor Chromebook

Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: Ifad99eb7e357e0608ccab314b7aef87967450fa3
diff --git a/sc7180_utils.sh b/sc7180_utils.sh
new file mode 100644
index 0000000..1f22e77
--- /dev/null
+++ b/sc7180_utils.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2020-2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+set -u
+
+gen_sc7180_yaml(){
+    local yaml_file="$workspace/sc7180.yaml"
+    local job_file="$workspace/job.yaml"
+    local payload_type="${payload_type:?}"
+
+    bin_mode="$mode" \
+        "$ci_root/script/gen_sc7180_${payload_type}_yaml.sh" > "$yaml_file"
+
+    cp "$yaml_file" "$job_file"
+    archive_file "$yaml_file"
+    archive_file "$job_file"
+}
+
+set +u