From: Michal Simek Date: Mon, 1 Feb 2010 11:15:58 +0000 (+0100) Subject: microblaze: Invalidate dcache before enabling it X-Git-Tag: v2.6.33-rc8~41^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6013411118a6c8c34f1bd8b047b36fdf9711590;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 --- 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();