Russell King 96054b0a99 ARM: l2c: clean up OF initialisation a bit
Rather than having a boolean and other tricks to disable some bits of
l2x0_init(), split this function into two parts: a common part shared
between OF and non-OF, and the non-OF part.

The common part can take a block of function pointers, and the cache
ID (to cope with Aurora's DT specified ID.)  Eliminate the redundant
setting of l2x0_base in the OF case, moving it to the non-OF init
function.

This allows us to localise the OF-specific initialisation handling
from the non-OF handling.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-05-30 00:47:43 +01:00
..
2014-05-21 19:00:09 +09:00
2014-05-13 11:07:02 +09:00
2014-01-05 13:59:56 +00:00
2014-04-05 14:19:54 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 15:29:04 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:29:04 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:29:04 -07:00
2014-04-05 15:37:40 -07:00
2013-12-11 17:32:41 -08:00
2014-04-05 13:51:19 -07:00