]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xtensa: nommu: set up cache and atomctl in initialize_mmu
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 4 Oct 2014 14:50:53 +0000 (18:50 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 21 Oct 2014 09:28:56 +0000 (13:28 +0400)
commit2eabc1800d1ef7a850672aedcc266a831572af63
tree06e4c80168c5c9611f0c548954f93c8d7b135f11
parent53490121e9ffa3e6314137af016cde8ac83c9bb4
xtensa: nommu: set up cache and atomctl in initialize_mmu

initialize_mmu sets up atomctl SR which is needed for s32c1i to function
correctly even in noMMU configurations. It's also a good place to set up
caching attributes of physical memory.

Allow enabling INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX in noMMU
configurations for setting up atomctl and cache attributes.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/include/asm/initialize_mmu.h