coverity: Improve source file coverage for coverity builds
Also, updated the exclusion list appropriately.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I0a0c266ffdba6b21406ba580e46a1f2923e95725
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index d869f55..e349421 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -362,7 +362,7 @@
$(common_flags) all
make AARCH32_SP=optee ARCH=aarch32 CROSS_COMPILE=arm-none-eabi- PLAT=picopi \
$(common_flags) all
-make PLAT=imx8mm $(common_flags) all
+make PLAT=imx8mm $(common_flags) NEED_BL2=yes ${TBB_OPTIONS} all
make PLAT=imx8mn $(common_flags) all
make PLAT=imx8mp $(common_flags) NEED_BL2=yes ${TBB_OPTIONS} all
@@ -411,8 +411,10 @@
make PLAT=agilex $(common_flags) all
# Platforms from Broadcom
-clean_build PLAT=stingray $(common_flags) BOARD_CFG=bcm958742t INCLUDE_EMMC_DRIVER_ERASE_CODE=1 DRIVER_I2C_ENABLE=1
-clean_build PLAT=stingray $(common_flags) BOARD_CFG=bcm958742t-ns3 INCLUDE_EMMC_DRIVER_ERASE_CODE=1
+clean_build PLAT=stingray $(common_flags) BOARD_CFG=bcm958742t \
+ INCLUDE_EMMC_DRIVER_ERASE_CODE=1 DRIVER_I2C_ENABLE=1
+clean_build PLAT=stingray $(common_flags) BOARD_CFG=bcm958742t-ns3 \
+ INCLUDE_EMMC_DRIVER_ERASE_CODE=1 USE_USB=yes
# Platforms from Marvell
make PLAT=a3700 $(common_flags) SCP_BL2=/dev/null CM3_SYSTEM_RESET=1 \