summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-15 16:47:52 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-30 00:47:43 +0100
commit96054b0a99f4b7104c02e5521ee5c0d7b1fb09bc (patch)
tree5f89df251a271ab88261cb930de6ae447bb748b6 /lib/debugobjects.c
parent14b882cfa3f9db3430037dca6038e161eda953a1 (diff)
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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions