From 397b5697ad242408979a00dda14138aa1439f52b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 19 Jun 2016 19:43:01 -0600 Subject: arm: Move check_cache_range() into a common place This code is common, so move it into a common file. Signed-off-by: Simon Glass Reviewed-by: Marek Vasut --- arch/arm/include/asm/cache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/include/asm') diff --git a/arch/arm/include/asm/cache.h b/arch/arm/include/asm/cache.h index 1f63127bdc..16e65c36a9 100644 --- a/arch/arm/include/asm/cache.h +++ b/arch/arm/include/asm/cache.h @@ -29,6 +29,8 @@ static inline void invalidate_l2_cache(void) } #endif +int check_cache_range(unsigned long start, unsigned long stop); + void l2_cache_enable(void); void l2_cache_disable(void); void set_section_dcache(int section, enum dcache_option option); -- cgit