diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2013-11-08 15:10:10 +0200 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2014-03-11 22:20:45 +0400 |
commit | 37c7e4e538c207514706b767e26fe0aa93bdd2cf (patch) | |
tree | 50b2097444ed06e5672d5b6843709a0c6d499832 /virt/kvm/Kconfig | |
parent | a884e1364f53a6c85181dc5d011784b4f91ae79e (diff) |
OMAPDSS: raw read and write endian fix
All OMAP IP blocks expect LE data, but CPU may operate in BE mode.
Need to use endian neutral functions to read/write h/w registers.
I.e instead of __raw_read[lw] and __raw_write[lw] functions code
need to use read[lw]_relaxed and write[lw]_relaxed functions.
If the first simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Diffstat (limited to 'virt/kvm/Kconfig')
0 files changed, 0 insertions, 0 deletions