]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: minor fixes for cache and mmu handling
authorAneesh V <aneesh@ti.com>
Thu, 16 Jun 2011 23:30:50 +0000 (23:30 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 4 Jul 2011 08:55:25 +0000 (10:55 +0200)
commite05f00792b71184428fdb34a303644a1e457f000
tree6795b9334ef974e0f03ba55eb0cca01f4b58b372
parentc2dd0d45540397704de9b13287417d21049d34c6
arm: minor fixes for cache and mmu handling

1. make sure that page table setup is not done multiple times
2. flush_dcache_all() is more appropriate while disabling cache
   than a range flush on the entire memory(flush_cache())

   Provide a default implementation for flush_dcache_all()
   for backward compatibility and to avoid build issues.

Signed-off-by: Aneesh V <aneesh@ti.com>
arch/arm/lib/cache-cp15.c
arch/arm/lib/cache.c