Patchwork [U-Boot,v4,1/3] ARM: cache: declare set_section_dcache

login
register
mail settings
Submitter Vincent Stehlé
Date Jan. 7, 2013, 2:44 p.m.
Message ID <1357569880-10067-2-git-send-email-v-stehle@ti.com>
Download mbox | patch
Permalink /patch/209940/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Vincent Stehlé - Jan. 7, 2013, 2:44 p.m.
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@ti.com>
Cc: Tom Rini <trini@ti.com>
---
 arch/arm/include/asm/cache.h |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/arch/arm/include/asm/cache.h b/arch/arm/include/asm/cache.h
index eef6a5a..416d2c8 100644
--- a/arch/arm/include/asm/cache.h
+++ b/arch/arm/include/asm/cache.h
@@ -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