FIH: Change fih_delay() to return int
This will facilitate its use in macros to enhance fault protection.
Signed-off-by: Chris Brand <chris.brand@cypress.com>
Change-Id: I880b5f64a3329debaa8bae2e4eeddbeb2703a103
diff --git a/secure_fw/partitions/idle_partition/idle_partition.c b/secure_fw/partitions/idle_partition/idle_partition.c
index 38ae349..8f45f94 100644
--- a/secure_fw/partitions/idle_partition/idle_partition.c
+++ b/secure_fw/partitions/idle_partition/idle_partition.c
@@ -1,5 +1,8 @@
/*
* Copyright (c) 2021-2024, Arm Limited. All rights reserved.
+ * Copyright (c) 2024 Cypress Semiconductor Corporation (an Infineon
+ * company) or an affiliate of Cypress Semiconductor Corporation. All rights
+ * reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -24,7 +27,7 @@
}
#ifdef TFM_FIH_PROFILE_ON
- fih_delay();
+ (void)fih_delay();
while (1) {
/*