diff options
Diffstat (limited to 'lib_blackfin/cache.c')
-rw-r--r-- | lib_blackfin/cache.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib_blackfin/cache.c b/lib_blackfin/cache.c index 9d71bcb547..6fc4983772 100644 --- a/lib_blackfin/cache.c +++ b/lib_blackfin/cache.c @@ -33,11 +33,7 @@ void flush_cache(unsigned long dummy1, unsigned long dummy2) { - if ((dummy1 >= L1_ISRAM) && (dummy1 < L1_ISRAM_END)) - return; - if ((dummy1 >= DATA_BANKA_SRAM) && (dummy1 < DATA_BANKA_SRAM_END)) - return; - if ((dummy1 >= DATA_BANKB_SRAM) && (dummy1 < DATA_BANKB_SRAM_END)) + if (dummy1 >= 0xE0000000) return; if (icache_status()) |