MT8192: Enable LAVA test job submission

It runs BL31 boot test on Asurada Chromebook

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