aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/remoteproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/remoteproc.h')
-rw-r--r--include/linux/remoteproc.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index 12bc59a..cd0105d 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -201,13 +201,6 @@ enum rproc_state {
* POS_SUSPEND event.
*
* @RPROC_SECURE: remote processor secure mode has changed.
- *
- * @RPROC_LOAD_ERROR: an error has occurred during loading the remote processor
- * binary. users can use this event to release any resources
- * acquired after a request to start the processor.
- *
- * @RPROC_PRELOAD: users can register for this event to perform any actions
- * before the remoteproc starts loading the binary into memory.
*/
enum rproc_event {
RPROC_ERROR,
@@ -215,8 +208,6 @@ enum rproc_event {
RPROC_POS_SUSPEND,
RPROC_RESUME,
RPROC_SECURE,
- RPROC_LOAD_ERROR,
- RPROC_PRELOAD,
};
#define RPROC_MAX_NAME 100
@@ -277,6 +268,7 @@ struct rproc {
int last_trace_len0, last_trace_len1;
void *cdump_buf0, *cdump_buf1;
int cdump_len0, cdump_len1;
+ struct mutex tlock;
struct completion firmware_loading_complete;
struct work_struct error_work;
struct blocking_notifier_head nbh;
@@ -309,8 +301,6 @@ int rproc_register(struct device *, const char *, const struct rproc_ops *,
unsigned int timeout);
int rproc_unregister(const char *);
void rproc_last_busy(struct rproc *);
-int rproc_da_to_pa(struct rproc *, u64, phys_addr_t *);
-int rproc_pa_to_da(struct rproc *, phys_addr_t, u64 *);
#ifdef CONFIG_REMOTE_PROC_AUTOSUSPEND
extern const struct dev_pm_ops rproc_gen_pm_ops;
#define GENERIC_RPROC_PM_OPS (&rproc_gen_pm_ops)