mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 18:04:48 +00:00
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: Aneesh V <aneesh@ti.com>
This commit is contained in:
parent
ff6b47ad23
commit
4c93da7c39
1 changed files with 3 additions and 1 deletions
|
@ -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")));
|
||||
|
|
Loading…
Add table
Reference in a new issue