commit | 2e640429c2bb977cff44e470849bc73b4be6310c | [log] [tgz] |
---|---|---|
author | Victor Kamensky <victor.kamensky@linaro.org> | Thu Nov 07 10:32:07 2013 -0800 |
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | Wed Apr 16 23:52:05 2014 +0400 |
tree | 4ea9657d5786edbc18b533c7a5c1a9e9701639bd | |
parent | 2556a265c5b18b3e071038dd6914f2980d7f9fb4 [diff] |
ARM: OMAP4: sleep: byteswap data for big-endian Assembler functions defined in sleep44xx.S need to byteswap values after read / before write from h/w register if code compiled in big endian mode. Simple change to do 'rev x, x' before str instruction and after ldr instruction that deals with h/w registers. Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>