diff options
author | Amit Blay <ablay@codeaurora.org> | 2017-07-10 18:30:20 +0300 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-07-10 08:34:29 -0700 |
commit | 232738f76fd30de10a8102b43417b25e355b2e5b (patch) | |
tree | 3aa1b8662aaf41e5df1b7023076f172621eed9a5 /include/soc | |
parent | d6f171ce52ce47aa18c80145298c9237fb577e24 (diff) |
soc: qcom: SCM front-end over QCPE
This is an implementation of para-virtualized SCM driver.
This driver is the FE. The BE is QCPE running in an hypervisor.
The FE driver forwards SCM calls over HAB to the BE.
Change-Id: I88c269e856b0a6cc20b9ab8bf10110842d90a382
Signed-off-by: Amit Blay <ablay@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/qcom/scm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/soc/qcom/scm.h b/include/soc/qcom/scm.h index ad57eda97f9d..af389305207f 100644 --- a/include/soc/qcom/scm.h +++ b/include/soc/qcom/scm.h @@ -95,7 +95,7 @@ struct scm_desc { u64 x5; }; -#ifdef CONFIG_QCOM_SCM +#if defined(CONFIG_QCOM_SCM) || defined(CONFIG_QCOM_SCM_QCPE) extern int scm_call(u32 svc_id, u32 cmd_id, const void *cmd_buf, size_t cmd_len, void *resp_buf, size_t resp_len); @@ -230,7 +230,7 @@ static inline int scm_io_write(phys_addr_t address, u32 val) return 0; } -inline bool scm_is_secure_device(void) +static inline bool scm_is_secure_device(void) { return false; } |