SST: Rename get_attributes APIs to get_info
This patch renames get_attributes functions to get_info, and updates
the SST code as follows:
- rename tfm_sst_attribs_t to tfm_sst_asset_info_t
- rename sst_asset_infoi_t to sst_asset_policy_t in
sst_asset_management
- add sst_core_obj_info_t in sst_core
- update sst service APIs and code to accomodate it to the new types
and type names
- update dependant tests to accomodate them to the new names
Change-Id: Ifa0e56c3c15c7de40d6af4aa3f96c8bd7eae85f2
Signed-off-by: Marc Moreno <marc.morenoberengue@arm.com>
diff --git a/interface/src/tfm_sst_api.c b/interface/src/tfm_sst_api.c
index fb13ed0..99d9d38 100644
--- a/interface/src/tfm_sst_api.c
+++ b/interface/src/tfm_sst_api.c
@@ -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
*
@@ -26,12 +26,12 @@
0);
}
-enum tfm_sst_err_t tfm_sst_get_attributes(uint32_t asset_handle,
- struct tfm_sst_attribs_t* attrib_struct)
+enum tfm_sst_err_t tfm_sst_get_info(uint32_t asset_handle,
+ struct tfm_sst_asset_info_t *info)
{
- return tfm_ns_lock_svc_dispatch(SVC_TFM_SST_GET_ATTRIBUTES,
- (uint32_t)asset_handle,
- (uint32_t)attrib_struct,
+ return tfm_ns_lock_svc_dispatch(SVC_TFM_SST_GET_INFO,
+ asset_handle,
+ (uint32_t)info,
0,
0);
}