modules: tf-m: disable audit log partition with medium profile
When compiling TF-M with profile_medium, disable the support
for Audit Log due to an upstream bug.
Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
diff --git a/modules/trusted-firmware-m/Kconfig b/modules/trusted-firmware-m/Kconfig
index c2a523c..392c1b9 100644
--- a/modules/trusted-firmware-m/Kconfig
+++ b/modules/trusted-firmware-m/Kconfig
@@ -172,9 +172,11 @@
options are handled by the build system in the trusted-firmware-m
repository.
+# Audit Log partition build fails for profile_medium, so disable
+# the combination for now.
config TFM_PARTITION_AUDIT_LOG
- bool "Enable secure partition 'Audit Log'"
- default y
+ bool "Enable secure partition 'Audit Log'" if (TFM_PROFILE != "profile_medium")
+ default y if (TFM_PROFILE != "profile_medium")
help
Setting this option will cause '-DTFM_PARTITION_AUDIT_LOG'
to be passed to the TF-M build system. Look at 'config_default.cmake'