summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/mmu.c
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-10-09 18:40:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-14 15:26:46 +0200
commitae0a375ba71ba9b9a70cb7eda177445fcfbf586d (patch)
tree65ba5914c10073d826b937b01ee5be16d8dc0883 /arch/arm/cpu/mmu.c
parent843b24bf6d569647f85f69942e3db1940a54f26c (diff)
downloadbarebox-ae0a375ba71ba9b9a70cb7eda177445fcfbf586d.tar.gz
barebox-ae0a375ba71ba9b9a70cb7eda177445fcfbf586d.tar.xz
ARM: cache-armv7: remove duplicate domain initialization
We already call set_domain each time we do __mmu_cache_on. Writing the DACR in the armv7 __mmu_cache_on is thus superfluous. Drop it. This changes existing behavior, whereas all 16 memory domains had the same access permissions set (manager) before, now only the first domain has. This is ok, as we only ever use domain 0 in barebox and on non-armv7, we don't bother with the other ones at all. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/cpu/mmu.c')
0 files changed, 0 insertions, 0 deletions