LIB: Update secure partitions with new logging API
Change-Id: Ic4651000ac3c22f54f329d0e0aebb41ffb839b34
Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com>
diff --git a/partitions/measured_boot/measured_boot.c b/partitions/measured_boot/measured_boot.c
index c104ced..6f4daf9 100644
--- a/partitions/measured_boot/measured_boot.c
+++ b/partitions/measured_boot/measured_boot.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2022-2023, Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -13,7 +13,7 @@
#include "boot_hal.h"
#include "service_api.h"
#include "tfm_strnlen.h"
-#include "tfm_sp_log.h"
+#include "tfm_log_unpriv.h"
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
@@ -358,9 +358,9 @@
error:
if (status != PSA_SUCCESS) {
- LOG_DBGFMT("Measured Boot : measurement extension failed.\r\n");
+ VERBOSE_UNPRIV_RAW("Measured Boot : measurement extension failed.\n");
} else {
- LOG_DBGFMT("Measured Boot : measurement extended successfully.\r\n");
+ VERBOSE_UNPRIV_RAW("Measured Boot : measurement extended successfully.\n");
}
return status;