Update Value of Build Param
Valid values of CRYPTO_HW_ACCELERATOR_OTP_STATE
should be "ENABLED" or "off"
instead of "True" or "False".
Change-Id: Ic12498494c06e0ca041ff346cdc4c57b1f98e81f
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
diff --git a/tfm_ci_pylib/tfm_build_manager.py b/tfm_ci_pylib/tfm_build_manager.py
index 2cc4f87..7d56c7a 100644
--- a/tfm_ci_pylib/tfm_build_manager.py
+++ b/tfm_ci_pylib/tfm_build_manager.py
@@ -555,7 +555,7 @@
if list(i)[5] != "OFF": #TEST_PSA_API
config_param.append(mapTestPsaApi[list(i)[5]])
config_param.append(list(i)[6]) # BUILD_TYPE
- if list(i)[7]: # OTP
+ if list(i)[7] == "ENABLED": # OTP
config_param.append("OTP")
if list(i)[8]: # BL2
config_param.append("BL2")