]> git.karo-electronics.de Git - karo-tx-linux.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, 22 May 2014 15:45:15 +0000 (16:45 +0100)
commit62c2c2607e0c3b336054b910cb0b210a7e0f1100
treee49acb8bf40db2a9e71e990907d265d5492ef82e
parent723245f7c4ddd81e9a33760010af932e8e19c3e1
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