diff options
author | Michal Simek <monstr@monstr.eu> | 2010-02-01 11:15:58 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-02-08 10:39:18 (GMT) |
commit | a6013411118a6c8c34f1bd8b047b36fdf9711590 (patch) | |
tree | 80d178eb83ee66f259dde2b74db2fbccd6e2c73b /arch | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) | |
download | linux-fsl-qoriq-a6013411118a6c8c34f1bd8b047b36fdf9711590.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/kernel/setup.c | 1 |
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(); |