]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: Add control over cachability of memory regions
authorSimon Glass <sjg@chromium.org>
Wed, 17 Oct 2012 13:24:53 +0000 (13:24 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 19 Nov 2012 15:15:38 +0000 (08:15 -0700)
commit0dde7f53797098cf7021f6a7ca6c15bfee405db1
tree1ed1c0fe7ed431690845e2a81ab0f309a0d3fe71
parent1b24a50b44d9577c65759d252571f94e8f702777
arm: Add control over cachability of memory regions

Add support for adjusting the L1 cache behavior by updating the MMU
configuration. The mmu_set_region_dcache_behaviour() function allows
drivers to make these changes after the MMU is set up.

It is implemented only for ARMv7 at present.

This is needed for LCD support, where we want to make the LCD frame buffer
write-through (or off) rather than write-back.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/cache_v7.c
arch/arm/include/asm/system.h
arch/arm/lib/cache-cp15.c