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/group/tf-l1-build-plat/sc7180-default:nil b/group/tf-l1-build-plat/sc7180-default:nil
index d52947d..2e1e8dd 100644
--- a/group/tf-l1-build-plat/sc7180-default:nil
+++ b/group/tf-l1-build-plat/sc7180-default:nil
@@ -1,6 +1,21 @@
 #
-# Copyright (c) 2020, Arm Limited. All rights reserved.
+# Copyright (c) 2023, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
 
+pre_tf_build() {
+    local ext_lib="libqtisec.a"
+
+    pushd "${workspace}"
+
+    if [ ! -f "${ext_lib}" ]; then
+        echo "Fetch ${ext_lib} for sc7180"
+        saveas="${ext_lib}" \
+            url="https://github.com/coreboot/qc_blobs/raw/master/sc7180/qtiseclib/libqtisec.a" \
+            fetch_file
+        pwd; ls -l
+    fi
+
+    popd "${workspace}"
+}