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>
This commit is contained in:
Rob Clark
2017-03-14 11:18:03 -04:00
committed by Andy Gross
parent c1ae3cfa0e
commit a2c680c6ce
5 changed files with 35 additions and 0 deletions

View File

@@ -315,6 +315,12 @@ static const struct reset_control_ops qcom_scm_pas_reset_ops = {
.deassert = qcom_scm_pas_reset_deassert,
};
int qcom_scm_restore_sec_cfg(u32 device_id, u32 spare)
{
return __qcom_scm_restore_sec_cfg(__scm->dev, device_id, spare);
}
EXPORT_SYMBOL(qcom_scm_restore_sec_cfg);
/**
* qcom_scm_is_available() - Checks if SCM is available
*/