diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2014-04-18 08:55:46 -0700 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2014-06-24 18:31:35 +0400 |
commit | 1db32bd60a868224244d15924ce1a50a4c8053f2 (patch) | |
tree | db67e716ea59e56829cb37b3cb57a5ffb2f57067 | |
parent | 09e19681a8d2a3e05af2bcc9bc0c030322a8ca11 (diff) |
ARM64: disable DCACHE_WORD_ACCESS in big endian casetracking-llct-misc-fixes-llct-20140625.0
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>
-rw-r--r-- | arch/arm64/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a474de346be6..479689a37d53 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -14,7 +14,7 @@ config ARM64 select CLONE_BACKWARDS select COMMON_CLK select CPU_PM if (SUSPEND || CPU_IDLE) - select DCACHE_WORD_ACCESS + select DCACHE_WORD_ACCESS if !CPU_BIG_ENDIAN select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS_BROADCAST if SMP select GENERIC_CPU_AUTOPROBE |