From 6da3d7020e7d2a2ac2d1ed1a6ece9dca3c150339 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Fri, 26 Mar 2021 14:56:42 +0100 Subject: [PATCH] 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 --- modules/trusted-firmware-m/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/trusted-firmware-m/Kconfig b/modules/trusted-firmware-m/Kconfig index 6530b4012688..a73b0849a355 100644 --- a/modules/trusted-firmware-m/Kconfig +++ b/modules/trusted-firmware-m/Kconfig @@ -172,9 +172,11 @@ config TFM_PARTITION_PLATFORM 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'