blackfin: Add more dcache functions
PATCH 1/1 blackfin: Add more dcache functions
Add invalidate_dcache_range() and flush_dcache_range() for the blackfin architecture. Such functions already exist on this arch with different names, so just forward the call.
This fixes the build of bf609-ezkit board as it uses drivers/net/designware.c which requires the above functions.
Cc Sonic Zhang <[email protected]>, Alexey Brodkin <[email protected]>
Signed-off-by Vasili Galka <[email protected]>
--- arch/blackfin/lib/cache.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
arch/blackfin/lib/cache.c +10 -0
@@ -111,3 +111,13 @@ int dcache_status(void) {return bfin_read_DMEM_CONTROL () &ACACHE_BCACHE ; } + +void invalidate_dcache_range (unsigned long start,unsigned long stop) +{ +blackfin_dcache_flush_invalidate_range ((const void *)start, (const void *)stop); +} + +void flush_dcache_range (unsigned long start,unsigned long stop) +{ +blackfin_dcache_flush_range ((const void *)start, (const void *)stop); +}
Signature · 1 line
1.7.9
Quoted 9 lines · Vasili Galka
Add
invalidate_dcache_range()andflush_dcache_range()for the blackfin architecture. Such functions already exist on this arch with different names, so just forward the call.This fixes the build of bf609-ezkit board as it uses
drivers/net/designware.cwhich requires the above functions.Cc Sonic Zhang <[email protected]>, Alexey Brodkin <[email protected]>Signed-off-by Vasili Galka <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140707/6164458b/attachment.pgp>