summaryrefslogtreecommitdiff
path: root/src/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/mips')
-rw-r--r--src/arch/mips/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/mips/cache.c b/src/arch/mips/cache.c
index e17075c081..62c20f34a3 100644
--- a/src/arch/mips/cache.c
+++ b/src/arch/mips/cache.c
@@ -111,5 +111,6 @@ void arch_segment_loaded(uintptr_t start, size_t size, int flags)
{
cache_invalidate_all(start, size);
if (flags & SEG_FINAL)
- cache_invalidate_all((uintptr_t)_cbfs_cache, _cbfs_cache_size);
+ cache_invalidate_all((uintptr_t)_cbfs_cache,
+ REGION_SIZE(cbfs_cache));
}