Make supported FF-A version configurable in libsp

Introduce CFG_FFA_VERSION macro for configuring FF-A version in libsp.
The value of CFG_FFA_VERSION follows the version format of FFA_VERSION.
The allowed versions are FF-A v1.0 and v1.1.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I7f2b425f9267758c4dfec513bc7a3bde773c7a97
diff --git a/components/messaging/ffa/libsp/component.cmake b/components/messaging/ffa/libsp/component.cmake
index 64e8814..624982a 100644
--- a/components/messaging/ffa/libsp/component.cmake
+++ b/components/messaging/ffa/libsp/component.cmake
@@ -9,6 +9,7 @@
 endif()
 
 set(FFA_DIRECT_MSG_ROUTING_EXTENSION ON CACHE BOOL "Enable FF-A direct message routing extension")
+set(CFG_FFA_VERSION 0x00010000 CACHE STRING "The supported FF-A protocol's version: (major << 16) | minor")
 
 target_sources(${TGT} PRIVATE
 	"${CMAKE_CURRENT_LIST_DIR}/aarch64/ffa_syscalls_a64.S"
@@ -46,6 +47,11 @@
 		)
 endif()
 
+target_compile_definitions(${TGT}
+	PUBLIC
+		"CFG_FFA_VERSION=${CFG_FFA_VERSION}"
+	)
+
 target_include_directories(${TGT}
 	 PUBLIC
 		"$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"