diff options
author | Rob Clark <robdclark@gmail.com> | 2017-03-14 16:18:03 +0100 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2017-03-28 23:03:21 +0200 |
commit | a2c680c6ce386e9ca6cdf362e8b01789126c9bf7 (patch) | |
tree | 6506d9c5d25e4a9d25f8075b59c925a755c3ee64 /drivers/firmware/qcom_scm.h | |
parent | Linux 4.11-rc1 (diff) | |
download | linux-a2c680c6ce386e9ca6cdf362e8b01789126c9bf7.tar.xz linux-a2c680c6ce386e9ca6cdf362e8b01789126c9bf7.zip |
firmware/qcom: add qcom_scm_restore_sec_cfg()
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/firmware/qcom_scm.h')
-rw-r--r-- | drivers/firmware/qcom_scm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/firmware/qcom_scm.h b/drivers/firmware/qcom_scm.h index 6a0f15469344..31fc732960ca 100644 --- a/drivers/firmware/qcom_scm.h +++ b/drivers/firmware/qcom_scm.h @@ -85,4 +85,9 @@ static inline int qcom_scm_remap_error(int err) return -EINVAL; } +#define QCOM_SCM_SVC_MP 0xc +#define QCOM_SCM_RESTORE_SEC_CFG 2 +extern int __qcom_scm_restore_sec_cfg(struct device *dev, u32 device_id, + u32 spare); + #endif |