Test: Add ITS test for partition access control

Adds a test that checks ITS access control by setting a UID and then
attempting to get the same UID from the Secure Client 2 test partition.

Change-Id: I536bd1efe3176ce4e9b2d704db1ca1ecb858520f
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
diff --git a/secure_fw/spm/tfm_spm_db.inc b/secure_fw/spm/tfm_spm_db.inc
index 43bd2bc..96d11bd 100644
--- a/secure_fw/spm/tfm_spm_db.inc
+++ b/secure_fw/spm/tfm_spm_db.inc
@@ -543,6 +543,13 @@
 };
 #endif /* TFM_PARTITION_TEST_SST */
 
+#ifdef TFM_PARTITION_TEST_SECURE_SERVICES
+static int32_t dependencies_TFM_SP_SECURE_CLIENT_2[] =
+{
+    TFM_ITS_GET_SID,
+};
+#endif /* TFM_PARTITION_TEST_SECURE_SERVICES */
+
 /**************************************************************************/
 /** The static data of the partition list */
 /**************************************************************************/
@@ -784,8 +791,8 @@
                               ,
         .partition_priority   = TFM_PRIORITY(NORMAL),
         .partition_init       = tfm_secure_client_2_init,
-        .dependencies_num     = 0,
-        .p_dependencies       = NULL,
+        .dependencies_num     = 1,
+        .p_dependencies       = dependencies_TFM_SP_SECURE_CLIENT_2,
     },
 #endif /* TFM_PARTITION_TEST_SECURE_SERVICES */