]> 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)
commit1bb4c048a18a28b0374d9dbcd7ae74c77e6c9189
tree92a1b5ce2ec8fb2cc6ae420034f892c8172dfa81
parentfb3f77bf913cbabc4667a9582b4c24fa2ae92976
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