u-boot/arch/mips/cpu/mips32
Gabor Juhos 67d80c9f97 MIPS: start.S: don't save flush_cache parameters in advance
Saving the parameters in advance unnecessarily complicates
the code. The destination address is already saved in the
's2' register, and that register is not clobbered by the
copy loop. The size of the copied data can be computed
after the copy loop is done.

Change the code to compute the size parameter right
before calling flush_cache, and set the destination
address parameter in the delay slot of the actuall
call.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
2013-01-27 16:40:15 +01:00
..
au1x00 usb: use linux/usb/ch9.h instead of usbdescriptors.h 2012-11-20 00:16:06 +01:00
incaip serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
cache.S MIPS: don't use camel-case style 2012-10-16 15:02:08 +02:00
config.mk MIPS: move CONFIG_STANDALONE_LOAD_ADDR to CPU config makefiles 2012-08-24 00:34:47 +02:00
cpu.c MIPS: don't use camel-case style 2012-10-16 15:02:08 +02:00
interrupts.c MIPS: Move content of arch/mips/cpu to arch/mips/cpu/mips32 2011-04-02 22:07:12 +09:00
Makefile MIPS: Move timer code to arch/mips/cpu/$(CPU)/ 2011-05-10 00:12:31 +09:00
start.S MIPS: start.S: don't save flush_cache parameters in advance 2013-01-27 16:40:15 +01:00
time.c MIPS: do not initialize timestamp variable before relocate_code 2012-11-25 21:50:43 +01:00