feat(nxp/layerscape): add build variants and new SoC to CI

Added new platform ls1028ardb build variants, and also update
lx2 build variants to use common secure boot build flags.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: I46bc4d5495fb2ccb8a44ef9fad4e9a64ee420c70
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index 50150e9..08c731e 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -373,21 +373,35 @@
 make PLAT=imx8qx $(common_flags) all
 
 # Platforms for NXP Layerscape
+nxp_sb_flags="TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) SPD=opteed"
+nxp_sb_fuse_flags="${nxp_sb_flags} FUSE_PROG=1"
+
+# Platform lx2
 make PLAT=lx2160aqds $(common_flags) all
 make PLAT=lx2160ardb $(common_flags) all
 
 #CSF Based CoT:
-clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=flexspi_nor SPD=opteed \
-    TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) DDR_PHY_BIN_PATH=$(pwd)
+clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=flexspi_nor \
+    $nxp_sb_fuse_flags DDR_PHY_BIN_PATH=$(pwd)
 
 #X509 Based CoT
-clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=flexspi_nor SPD=opteed \
-    TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) GENERATE_COT=1 \
+clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=flexspi_nor \
+    $nxp_sb_flags GENERATE_COT=1 \
     MBEDTLS_DIR=$(pwd)/mbedtls
 
 #BOOT_MODE=emmc and Stack protector
-clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=emmc SPD=opteed \
-    TRUSTED_BOARD_BOOT=1 CST_DIR=$(pwd) ENABLE_STACK_PROTECTOR=strong
+clean_build PLAT=lx2162aqds $(common_flags) BOOT_MODE=emmc \
+    $nxp_sb_fuse_flags ENABLE_STACK_PROTECTOR=strong
+
+# Platform ls1028ardb
+clean_build PLAT=ls1028ardb $(common_flags) all BOOT_MODE=flexspi_nor
+clean_build PLAT=ls1028ardb $(common_flags) all BOOT_MODE=emmc
+clean_build PLAT=ls1028ardb $(common_flags) all BOOT_MODE=sd
+
+# Secure Boot
+clean_build PLAT=ls1028ardb $(common_flags) all BOOT_MODE=flexspi_nor $nxp_sb_fuse_flags
+clean_build PLAT=ls1028ardb $(common_flags) all BOOT_MODE=emmc $nxp_sb_fuse_flags
+clean_build PLAT=ls1028ardb $(common_flags) all BOOT_MODE=sd $nxp_sb_fuse_flags
 
 # Platforms from Intel
 make PLAT=stratix10 $(common_flags) all