]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f60c1a9aaabbb6d528daaa82e4b3173a7fdca81
tree92a1b5ce2ec8fb2cc6ae420034f892c8172dfa81
parenteb0a9276dc964799f414b53bda4acc8f05f29d18
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