u-boot/arch/mips/cpu/mips32
Paul Burton 4a5d8898bc MIPS: unify cache initialization code
The mips32 & mips64 cache initialization code differs only in that the
mips32 code supports reading the cache size from coprocessor 0 registers
at runtime. Move the more developed mips32 version to a common
arch/mips/lib/cache_init.S & remove the now-redundant mips64 version in
order to reduce duplication. The temporary registers used are shuffled
slightly in order to work for both mips32 & mips64 builds. The RA
register is defined differently to suit mips32 & mips64, but will be
removed by a later commit in the series after further cleanup.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2015-01-29 12:55:01 +01:00
..
au1x00 include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
config.mk MIPS: refactor setting of compiler options 2014-11-01 18:18:05 +01:00
cpu.c MIPS: unify cache maintenance functions 2015-01-29 12:55:00 +01:00
interrupts.c MIPS: stub interrupt_init function 2014-04-20 13:16:42 +02:00
Makefile MIPS: unify cache initialization code 2015-01-29 12:55:01 +01:00
start.S MIPS: add support for pre-relocation malloc 2015-01-21 14:07:23 +01:00
time.c MIPS: use common code from lib/time.c 2015-01-21 14:02:49 +01:00