u-boot-brain/arch/mips
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
..
cpu MIPS: start.S: don't save flush_cache parameters in advance 2013-01-27 16:40:15 +01:00
include/asm MIPS: convert IO port accessor functions to 'static inline' 2013-01-22 21:07:19 +01:00
lib MIPS: bootm.c: add support for 'prep' and 'go' subcommands 2013-01-16 10:52:07 +01:00
config.mk MIPS: move CONFIG_STANDALONE_LOAD_ADDR to CPU config makefiles 2012-08-24 00:34:47 +02:00