ARM64: disable DCACHE_WORD_ACCESS in big endian case

If DCACHE_WORD_ACCESS is enabled big endian image failed to
boot. commit 7bc13fd33adb9536bd73965cd46bbf7377df097c
"arm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs"
enabled this setting for both big endian and little endian
cpus. And code in commit itself seems to be endian agnostic,
however other, i.e C, code that sits under DCACHE_WORD_ACCESS
seems to be not endian agnostic, I could not figure out where
though.

Solution is to enable DCACHE_WORD_ACCESS only if little
endian mode is enabled (default).

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
1 file changed