]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit146aa0a171c94076b96ee98c42f3450f81585d76
tree1b7bd1c1793feba0719f04de2eb68e418498e827
parent8b115625ce996283f301b1256189053e7ac83541
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