From d04fcfa8ff7dc5bced2a30ffefa5c8aba49a772d Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Fri, 29 May 2015 20:08:49 +0000 Subject: [PATCH] - D-cache invalidate all. Instead of one cache line git-svn-id: http://moon:8086/svn/mips@40 a8ebac50-d88d-4704-bea3-6648445a41b3 --- src/bootloader/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootloader/test.c b/src/bootloader/test.c index a412eb0..70a323b 100644 --- a/src/bootloader/test.c +++ b/src/bootloader/test.c @@ -44,7 +44,7 @@ void main() pSDRAM[i] = data; data += 0x10011111; } - DCACHE_invalidate_at((uint32_t*)pSDRAM); + DCACHE_invalidate_all(); for (i=0; i < 16; i++) { sputs("SDRAM");print_word(pSDRAM[i]);sputs("\n");