提交 4c93da7c 编写于 作者: A Aneesh V 提交者: Albert ARIBAUD

arm: make default implementation of cache_flush() weakly linked

make default implementation of cache_flush() weakly linked so that
sub-architectures can override it
Signed-off-by: NAneesh V <aneesh@ti.com>
上级 ff6b47ad
......@@ -25,7 +25,7 @@
#include <common.h>
void flush_cache (unsigned long dummy1, unsigned long dummy2)
void __flush_cache(unsigned long start, unsigned long size)
{
#if defined(CONFIG_OMAP2420) || defined(CONFIG_ARM1136)
void arm1136_cache_flush(void);
......@@ -45,3 +45,5 @@ void flush_cache (unsigned long dummy1, unsigned long dummy2)
#endif
return;
}
void flush_cache(unsigned long start, unsigned long size)
__attribute__((weak, alias("__flush_cache")));
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册