summaryrefslogtreecommitdiff
path: root/include/soc/qcom
diff options
context:
space:
mode:
authorAmir Samuelov <amirs@codeaurora.org>2016-06-17 08:39:16 +0300
committerKyle Yan <kyan@codeaurora.org>2016-06-21 15:12:33 -0700
commitf956c61bd2ee86905762e78f1c574e87b284ed04 (patch)
tree8ff06d90a5bff4b62417b6012eba6f39c41531e4 /include/soc/qcom
parentaaaea235c69aad17b93d33d9da5dd6494cc8a766 (diff)
spcom: add spcom_is_sp_subsystem_link_up
Add implementation of spcom_is_sp_subsystem_link_up() kernel API. Remove Load App API declaration, as it is not supported for kernel drivers. Change-Id: I76a43a04d454d1f25a640831f43b51dbb7e75943 Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Diffstat (limited to 'include/soc/qcom')
-rw-r--r--include/soc/qcom/spcom.h47
1 files changed, 2 insertions, 45 deletions
diff --git a/include/soc/qcom/spcom.h b/include/soc/qcom/spcom.h
index e7302cad39cd..f234591ed8dd 100644
--- a/include/soc/qcom/spcom.h
+++ b/include/soc/qcom/spcom.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -85,20 +85,9 @@ struct spcom_service_info {
};
/*===========================================================================*/
-/* RESET */
+/* General API */
/*===========================================================================*/
-
-/**
- * spcom_reset_sp_subsystem() - send reset command to secure processor.
- *
- * Gracefully ask the remote SP to reset itself.
- * SP will probably initiate a Watch-Dog-Bite.
- *
- * return: 0 on success, negative error code on failure.
- */
-int spcom_reset_sp_subsystem(void);
-
/**
* spcom_is_sp_subsystem_link_up() - check if SPSS link is up.
*
@@ -107,38 +96,6 @@ int spcom_reset_sp_subsystem(void);
bool spcom_is_sp_subsystem_link_up(void);
/*===========================================================================*/
-/* Client LOAD SP Application */
-/*===========================================================================*/
-
-/**
- * spcom_is_app_loaded() - check if the SP App is already loaded.
- *
- * This shall be useful when the HLOS app restarts.
- * This API will check if logical channel node has been created.
- *
- * @ch_name: glink logical channel name
- *
- * @note: This API is available only on HLOS.
- *
- * return: true if loaded,false otherwise.
- */
-bool spcom_is_app_loaded(const char *ch_name);
-
-/**
- * spcom_load_app() - Load Secure Processor Application.
- *
- * @ch_name: glink logical channel name
- * spcom shall open channel file node after application is loaded.
- *
- * @file_path: Path to the encrypted file containing the application.
- *
- * @note: This API is available only on HLOS.
- *
- * return: 0 on success, negative error code on failure.
- */
-int spcom_load_app(const char *ch_name, const char *file_path);
-
-/*===========================================================================*/
/* Client Send Message */
/*===========================================================================*/
/**