From 1c5721387d7464a3e754bcbbabec36da2b28029d Mon Sep 17 00:00:00 2001 From: Subbaraya Sundeep Bhatta Date: Mon, 11 Aug 2014 17:39:06 +0530 Subject: [PATCH] bsp: Add declarations for cache APIs Added microblaze_flush_cache_ext_range, microblaze_invalidate_ cache_ext_range declarations. Signed-off-by: Subbaraya Sundeep Bhatta Acked-by: Anirudha Sarangi --- lib/bsp/standalone/src/changelog.txt | 2 ++ lib/bsp/standalone/src/microblaze/mb_interface.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/lib/bsp/standalone/src/changelog.txt b/lib/bsp/standalone/src/changelog.txt index fb5a77c5..fc69c962 100755 --- a/lib/bsp/standalone/src/changelog.txt +++ b/lib/bsp/standalone/src/changelog.txt @@ -197,4 +197,6 @@ * and iccarm/boot.s. Also uart.c and smc.c have been removed. Also * removed function definition of XSmc_NorInit and XSmc_NorInit from * cortexa9/smc.h + * 4.2 bss 08/11/14 Added microblaze_flush_cache_ext_range and microblaze_invalidate_ + * cache_ext_range declarations in mb_interface.h CR#783821. ******************************************************************************************/ diff --git a/lib/bsp/standalone/src/microblaze/mb_interface.h b/lib/bsp/standalone/src/microblaze/mb_interface.h index 8bb4937a..efc98aaa 100755 --- a/lib/bsp/standalone/src/microblaze/mb_interface.h +++ b/lib/bsp/standalone/src/microblaze/mb_interface.h @@ -60,6 +60,10 @@ extern void microblaze_flush_dcache_range(unsigned int cacheaddr, unsigned int l extern void microblaze_scrub(void); /* Scrub LMB and internal BRAM */ extern void microblaze_invalidate_cache_ext(void); /* Invalidate cache ext */ extern void microblaze_flush_cache_ext(void); /* Flush cache ext */ +extern void microblaze_flush_cache_ext_range(unsigned int cacheaddr, + unsigned int len); /* Flush cache ext range */ +extern void microblaze_invalidate_cache_ext_range(unsigned int cacheaddr, + unsigned int len); /* Invalidate cache ext range */ /* Deprecated */ extern void microblaze_update_icache (int , int , int ) __attribute__((deprecated));