ARM: qcom: Fix SCM interface for big-endian kernels
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 21 Jan 2015 19:21:15 +0000 (11:21 -0800)
committerKumar Gala <galak@codeaurora.org>
Fri, 23 Jan 2015 16:19:33 +0000 (10:19 -0600)
commit7279db9287f226fbb3f349c3244f8dc4b783e645
tree8054966b9f2447adce0e3a1ffcd0595806b02fef
parent65b4ab65538e0da8e03e05d137001f10c78273d0
ARM: qcom: Fix SCM interface for big-endian kernels

The secure environment only runs in little-endian mode, so any
buffers shared with the secure environment should have their
contents converted to little-endian. We also mark such elements
with __le32 to allow sparse to catch such problems.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
arch/arm/mach-qcom/scm-boot.c
arch/arm/mach-qcom/scm.c