Blackfin arch: Start untangling the CPLB handling code.
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 12 Jul 2007 08:25:29 +0000 (16:25 +0800)
committerBryan Wu <bryan.wu@analog.com>
Thu, 12 Jul 2007 08:25:29 +0000 (16:25 +0800)
commit29440a2b4cd37e32dfe0fa60ef1665775b24dab1
tree1b7bd1c1793feba0719f04de2eb68e418498e827
parent474f1a667d4bd40b6dcacc6870b70f4d2ba4e155
Blackfin arch: Start untangling the CPLB handling code.

 - Move cache initialization to C from assembly.
 - Move anomaly workaround for writing [ID]MEM_CONTROL to assembly, so
   that we don't have to mess around with .align directives in C source.
 - Fix a bug where bfin_write_DMEM_CONTROL would write to IMEM_CONTROL
 - Break out CPLB related code from kernel/setup.c into their own file.
 - Don't define variables in header files, only declare them.

Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/Makefile
arch/blackfin/kernel/cacheinit.c [new file with mode: 0644]
arch/blackfin/kernel/cplbinit.c [new file with mode: 0644]
arch/blackfin/kernel/setup.c
arch/blackfin/mach-common/cacheinit.S
include/asm-blackfin/cplbinit.h
include/asm-blackfin/mach-common/cdef_LPBlackfin.h