Bump TEE driver version
Update the TEE driver external component to refer to the new v2 branch.
Also, remove the temporary TEE implemenation ID define from the Linux
RPC caller since now we can get it from the driver's header file again.
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Change-Id: I1d9bf640932769e52822606fa3af01e192b16cd5
diff --git a/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake b/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake
index d774c24..da0a5b3 100644
--- a/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake
+++ b/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake
@@ -7,7 +7,7 @@
# If the driver is already installed, try to find that
find_path(LINUX_FFA_TEE_DRIVER_INCLUDE_DIR
- NAMES arm_ffa_tee.h
+ NAMES arm_tstee.h
DOC "Linux FF-A TEE driver include directory"
)
@@ -18,7 +18,7 @@
# Note: the aim of this external component is to make the header file defining the IOCTL API
# available. Fetching a moving reference is ok as long as API compatibility is guaranteed.
- set(LINUX_FFA_TEE_DRIVER_REFSPEC "origin/tee-v1"
+ set(LINUX_FFA_TEE_DRIVER_REFSPEC "origin/tee-v2"
CACHE STRING "Linux FF-A TEE driver git refspec")
set(LINUX_FFA_TEE_DRIVER_SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_deps/linux_ffa_tee_driver-src"
@@ -42,7 +42,7 @@
)
find_path(LINUX_FFA_TEE_DRIVER_INCLUDE_DIR
- NAMES arm_ffa_tee.h
+ NAMES arm_tstee.h
PATHS ${LINUX_FFA_TEE_DRIVER_SOURCE_DIR}/uapi
NO_DEFAULT_PATH
REQUIRED
@@ -51,4 +51,4 @@
endif()
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
- "${LINUX_FFA_TEE_DRIVER_INCLUDE_DIR}/arm_ffa_tee.h")
+ "${LINUX_FFA_TEE_DRIVER_INCLUDE_DIR}/arm_tstee.h")