Skip to content

Commit

Permalink
microblaze: Invalidate dcache before enabling it
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Simek committed Feb 8, 2010
1 parent 6339204 commit a601341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/microblaze/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void __init setup_arch(char **cmdline_p)

microblaze_cache_init();

invalidate_dcache();
enable_dcache();

invalidate_icache();
Expand Down

0 comments on commit a601341

Please sign in to comment.