ci: fix MOPS and PMUv3p7 model param enablement
This patch enables FEAT_MOPS and FEAT_PMUv3p7 only if
has_mops and has_pmuv3p7 is set to 1, avoiding
unintended enablement.
Change-Id: I5a41cc1ac2b0aaafa7f1c5a5275080ca686c1916
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
diff --git a/model/base-aemva-common.sh b/model/base-aemva-common.sh
index 4cbff80..72326e6 100644
--- a/model/base-aemva-common.sh
+++ b/model/base-aemva-common.sh
@@ -556,14 +556,14 @@
EOF
fi
-if [ "$has_pmuv3p7" != "0" ]; then
+if [ "$has_pmuv3p7" = "1" ]; then
cat <<EOF >>"$model_param_file"
-C cluster0.has_v8_7_pmu_extension=2
-C cluster1.has_v8_7_pmu_extension=2
EOF
fi
-if [ "$has_mops" != "0" ]; then
+if [ "$has_mops" = "1" ]; then
cat <<EOF >>"$model_param_file"
-C cluster0.has_mops_option=1
-C cluster1.has_mops_option=1