summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-02-01 12:15:58 +0100
committerMichal Simek <monstr@monstr.eu>2010-02-08 11:39:18 +0100
commita6013411118a6c8c34f1bd8b047b36fdf9711590 (patch)
tree80d178eb83ee66f259dde2b74db2fbccd6e2c73b
parent6339204ecc2aa2067a99595522de0403f0854bb8 (diff)
downloadop-kernel-dev-a6013411118a6c8c34f1bd8b047b36fdf9711590.zip
op-kernel-dev-a6013411118a6c8c34f1bd8b047b36fdf9711590.tar.gz
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>
-rw-r--r--arch/microblaze/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
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 @@ void __init setup_arch(char **cmdline_p)
microblaze_cache_init();
+ invalidate_dcache();
enable_dcache();
invalidate_icache();
OpenPOWER on IntegriCloud