aboutsummaryrefslogtreecommitdiff
path: root/platform/CMakeLists.txt
diff options
context:
space:
mode:
authorTamas Ban <tamas.ban@arm.com>2020-11-27 12:58:39 +0000
committerDavid Hu <david.hu@arm.com>2021-03-19 15:08:13 +0800
commitd28286ec9d383738351097c387f4903618ea3e2d (patch)
treec224ca2397263b689cb54ff59dee41115a05f6f5 /platform/CMakeLists.txt
parentb881bea86f7c41d5ddc46803fa31282b1d610016 (diff)
downloadtrusted-firmware-m-d28286ec9d383738351097c387f4903618ea3e2d.tar.gz
Platform: Adjust HAL API to fit for FI hardening
The FI hardening code requires to have a special return type of the protected functions: fih_int. Modify critical HAL and memory isolation APIs to use this return type when TFM_FIH_PROFILE is enabled. Signed-off-by: Tamas Ban <tamas.ban@arm.com> Co-authorized-by: David Hu <david.hu@arm.com> Change-Id: I592bf3b365354f04f37eff5fad20bdefaa5b8978
Diffstat (limited to 'platform/CMakeLists.txt')
-rwxr-xr-xplatform/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/CMakeLists.txt b/platform/CMakeLists.txt
index 236f44e147..f239f39f7c 100755
--- a/platform/CMakeLists.txt
+++ b/platform/CMakeLists.txt
@@ -56,6 +56,7 @@ target_sources(platform_s
target_link_libraries(platform_s
PUBLIC
platform_region_defs
+ tfm_fih
PRIVATE
psa_interface
tfm_secure_api