summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/configs
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-08-12 06:01:40 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-08-13 20:08:19 -0700
commit7bb516ca5424e12b42124fab2906b6da9c81ba9c (patch)
tree275dd23356eba62a81025221e23df3210a87a7be /arch/xtensa/configs
parentfec3259c9f747c039f90e99570540114c8d81a14 (diff)
downloadlinux-7bb516ca5424e12b42124fab2906b6da9c81ba9c.tar.gz
linux-7bb516ca5424e12b42124fab2906b6da9c81ba9c.tar.bz2
linux-7bb516ca5424e12b42124fab2906b6da9c81ba9c.zip
xtensa: rework noMMU cache attributes initialization
Marking default memory region as cached is not always sufficient and is not flexible. Allow specifying cache attributes for the whole memory address space with new config entry MEMMAP_CACHEATTR. Apply it after cache initialization. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/configs')
-rw-r--r--arch/xtensa/configs/nommu_kc705_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/configs/nommu_kc705_defconfig b/arch/xtensa/configs/nommu_kc705_defconfig
index 624f9b3a3878..610f622d3c84 100644
--- a/arch/xtensa/configs/nommu_kc705_defconfig
+++ b/arch/xtensa/configs/nommu_kc705_defconfig
@@ -33,6 +33,7 @@ CONFIG_XTENSA_VARIANT_CUSTOM_NAME="de212"
# CONFIG_XTENSA_VARIANT_MMU is not set
CONFIG_XTENSA_UNALIGNED_USER=y
CONFIG_PREEMPT=y
+CONFIG_MEMMAP_CACHEATTR=0xfff2442f
# CONFIG_PCI is not set
CONFIG_XTENSA_PLATFORM_XTFPGA=y
CONFIG_CMDLINE_BOOL=y