Commit 407c1da0 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Move cache function to cache.c



It is better to have init cache handling on one place.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 77753790
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -532,4 +532,9 @@ void microblaze_cache_init(void)
			}
		}
	}
	invalidate_dcache();
	enable_dcache();

	invalidate_icache();
	enable_icache();
}
+0 −6
Original line number Diff line number Diff line
@@ -57,12 +57,6 @@ void __init setup_arch(char **cmdline_p)

	microblaze_cache_init();

	invalidate_dcache();
	enable_dcache();

	invalidate_icache();
	enable_icache();

	setup_memory();

	xilinx_pci_init();