commit | a6013411118a6c8c34f1bd8b047b36fdf9711590 | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Mon Feb 01 12:15:58 2010 +0100 |
committer | Michal Simek <monstr@monstr.eu> | Mon Feb 08 11:39:18 2010 +0100 |
tree | 80d178eb83ee66f259dde2b74db2fbccd6e2c73b | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 [diff] [blame] |
microblaze: Invalidate dcache before enabling it We found that on write-trough kernel is necessary to do that invalidation. One WB is possible to use invalidation too. Signed-off-by: Michal Simek <monstr@monstr.eu>
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index 5372b24..bb8c4b9 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c
@@ -54,6 +54,7 @@ microblaze_cache_init(); + invalidate_dcache(); enable_dcache(); invalidate_icache();