diff options
author | Andy Gross <andy.gross@linaro.org> | 2016-06-04 01:25:23 +0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-06-24 20:33:59 +0200 |
commit | 13e77747800ef71224a12f787ebd26b27c16ff12 (patch) | |
tree | e00cc2b052bb86fdece7a24b78ef9a302a5ec6b3 /drivers/firmware/qcom_scm.h | |
parent | firmware: qcom: scm: Convert SCM to platform driver (diff) | |
download | linux-13e77747800ef71224a12f787ebd26b27c16ff12.tar.xz linux-13e77747800ef71224a12f787ebd26b27c16ff12.zip |
firmware: qcom: scm: Use atomic SCM for cold boot
This patch changes the cold_set_boot_addr function to use atomic SCM
calls. cold_set_boot_addr required adding qcom_scm_call_atomic2 to
support the two arguments going to the smc call. Using atomic removes
the need for memory allocation and instead places all arguments in
registers.
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/firmware/qcom_scm.h')
0 files changed, 0 insertions, 0 deletions