Core: Rename services to partitions in core

To get closer to the terminology used in PSA, the symbols that in the
current TF-M terminology refer to services, should be changed to refer
to partitions. This commit does this renaming in core, and also updates
files that reference the changed symbols.

Change-Id: Id457db3f8876eca39b8055df377533ac73ac7188
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/interface/include/tfm_api.h b/interface/include/tfm_api.h
index d911f0c..64a9447 100644
--- a/interface/include/tfm_api.h
+++ b/interface/include/tfm_api.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2018, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
@@ -23,18 +23,18 @@
 enum tfm_status_e
 {
     TFM_SUCCESS = 0,
-    TFM_SERVICE_PENDED,
-    TFM_SERVICE_BUSY,
-    TFM_ERROR_SERVICE_ALREADY_PENDED,
+    TFM_PARTITION_PENDED,
+    TFM_PARTITION_BUSY,
+    TFM_ERROR_PARTITION_ALREADY_PENDED,
     TFM_ERROR_SECURE_DOMAIN_LOCKED,
     TFM_ERROR_INVALID_PARAMETER,
-    TFM_ERROR_SERVICE_NON_REENTRANT,
+    TFM_ERROR_PARTITION_NON_REENTRANT,
     TFM_ERROR_NS_THREAD_MODE_CALL,
     TFM_ERROR_INVALID_EXC_MODE,
     TFM_SECURE_LOCK_FAILED,
     TFM_SECURE_UNLOCK_FAILED,
     TFM_ERROR_GENERIC = 0x1F,
-    TFM_SERVICE_SPECIFIC_ERROR_MIN,
+    TFM_PARTITION_SPECIFIC_ERROR_MIN,
 };
 
 //==================== Secure function declarations ==========================//