Fix: change linux components to use branches

In the GitLab repository of the arm_ffa_user and arm_ffa_tee drivers
there are overloaded tag and branch names which makes CMake v3.18
unable to clone these.
Change the external components making this repo available locally to
use explicit branch names to work around the issue.

Change-Id: Ie94b65fc0f00d70d04e797240f551f79cc16bb39
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
diff --git a/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake b/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake
index 53f6480..d774c24 100644
--- a/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake
+++ b/external/LinuxFfaTeeDriver/LinuxFfaTeeDriver.cmake
@@ -1,5 +1,5 @@
 #-------------------------------------------------------------------------------
-# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
+# Copyright (c) 2020-2023, Arm Limited and Contributors. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -15,7 +15,10 @@
 if(NOT LINUX_FFA_TEE_DRIVER_INCLUDE_DIR)
 	set(LINUX_FFA_TEE_DRIVER_URL "https://git.gitlab.arm.com/linux-arm/linux-trusted-services.git"
 		CACHE STRING "Linux FF-A TEE driver repository URL")
-	set(LINUX_FFA_TEE_DRIVER_REFSPEC "tee-v1"
+
+	# 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"
 		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"