]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: cache: declare set_section_dcache
authorVincent Stehlé <v-stehle@ti.com>
Mon, 4 Mar 2013 20:04:43 +0000 (20:04 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 28 Mar 2013 08:06:43 +0000 (09:06 +0100)
We declare the set_section_dcache function globally in the cache header, for
later use by e.g. machine specific code.

Signed-off-by: Vincent Stehlé <v-stehle <at> ti.com>
Cc: Tom Rini <trini <at> ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/include/asm/cache.h

index eef6a5a8f23c84722a4c72c1270b9004f5c59283..416d2c8f937b2b9c2d44d0bb0bcb71fd9fa0aed3 100644 (file)
@@ -41,6 +41,7 @@ static inline void invalidate_l2_cache(void)
 
 void l2_cache_enable(void);
 void l2_cache_disable(void);
+void set_section_dcache(int section, enum dcache_option option);
 
 /*
  * The current upper bound for ARM L1 data cache line sizes is 64 bytes.  We