ARM: l2c: vexpress ca9x4: move L2 cache initialisation earlier
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Mar 2014 11:15:38 +0000 (11:15 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:50:24 +0000 (00:50 +0100)
commit060bf2af12e3a5cf6af95336f9aa66e2af6ffa43
tree92a1b5ce2ec8fb2cc6ae420034f892c8172dfa81
parentc59917f877ae9b94d4ba146600c763ed6ae97a1b
ARM: l2c: vexpress ca9x4: move L2 cache initialisation earlier

It is beneficial to have the L2 cache up and running earlier in the
system boot.  Not only will this allow for simpler code when we come to
enable some features, but it also means that we get a more accurate
bogomips value for the udelay() loop.  Calibrating the loop with the
L2 cache off, and then running with the L2 cache on is not the best
idea.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-vexpress/ct-ca9x4.c
This page took 0.02782 seconds and 5 git commands to generate.