Coverity: add build config for Renesas RZ/G2M platform
This configuration adds missing files to be analyzed
by Coverity Scan.
Change-Id: I1a48614ae5cb478bf66c27cfa550aa8a52b6a689
Signed-off-by: Zelalem <zelalem.aweke@arm.com>
diff --git a/script/tf-coverity/coverity_tf_conf.py b/script/tf-coverity/coverity_tf_conf.py
index 9e26532..15dd597 100644
--- a/script/tf-coverity/coverity_tf_conf.py
+++ b/script/tf-coverity/coverity_tf_conf.py
@@ -22,6 +22,8 @@
("drivers/marvell/mochi/ap807_setup.c", "Not used by any upstream marvell platform"),
("drivers/renesas/rcar/ddr/ddr_b/boot_init_dram_config.c",
"It is used as a header file and is included in boot_init_dram.c .Since it is not explicitly compiled, such file cannot be converted into an instrumented binary for further analysis"),
+ ("drivers/renesas/rzg/ddr/ddr_b/boot_init_dram_config.c",
+ "It is used as a header file and is included in boot_init_dram.c .Since it is not explicitly compiled, such file cannot be converted into an instrumented binary for further analysis"),
("drivers/auth/cryptocell/713/.*", "There is no dummy library to support 713 for now. This can be removed once we have this library in place"),
("drivers/st/scmi-msg/.*", "Not used by any upstream platform"),
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index edff4a0..94120e0 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -418,6 +418,11 @@
PMIC_ROHM_BD9571=0 RCAR_DRAM_SPLIT=0 RCAR_SYSTEM_SUSPEND=0 \
AVS_SETTING_ENABLE=0 SPD=none TRUSTED_BOARD_BOOT=1
+# Renesas HiHope RZ/G2M development kit
+clean_build PLAT=rzg $(common_flags) \
+ MBEDTLS_DIR=$(pwd)/mbedtls LSI=G2M \
+ RCAR_DRAM_SPLIT=2 RCAR_LOSSY_ENABLE=1 SPD=none
+
# Platforms from ST
make PLAT=stm32mp1 CROSS_COMPILE=arm-none-eabi- \
$(common_flags) ARM_ARCH_MAJOR=7 STM32MP_EMMC=1 \