]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/README.arm-caches
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
[karo-tx-uboot.git] / doc / README.arm-caches
index cd2b4587c2856175a047aab91bfd6d43bab0f9a0..dbb6190b95c06ffcdc8c126cc0f361a8e1b717c6 100644 (file)
@@ -40,12 +40,14 @@ Buffer Requirements:
 - If the buffer is not cache-line aligned invalidation will be restricted
   to the aligned part. That is, one cache-line at the respective boundary
   may be left out while doing invalidation.
+- A suitable buffer can be alloced on the stack using the
+  ALLOC_CACHE_ALIGN_BUFFER macro.
 
 Cleanup Before Linux:
 - cleanup_before_linux() should flush the D-cache, invalidate I-cache, and
   disable MMU and caches.
 - The following sequence is advisable while disabling d-cache:
-  1. disable_dcache() - flushes and disables d-cache
+  1. dcache_disable() - flushes and disables d-cache
   2. invalidate_dcache_all() - invalid any entry that came to the cache
        in the short period after the cache was flushed but before the
        cache got disabled.