]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Blackfin: change global data register from P5 to P3
authorRobin Getz <robin.getz@analog.com>
Mon, 17 Aug 2009 15:23:02 +0000 (15:23 +0000)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:06 +0000 (09:04 -0500)
commitced6466ed520749ea73651b45fabeb5a3efa9c8b
tree2763fa03f67e8bcdfc45e145213c572ce3b76ac1
parentf6e33d95dfe4b95a284d3e960eabc8b04f71b56a
Blackfin: change global data register from P5 to P3

Since the Blackfin ABI favors higher scratch registers by default, use the
last scratch register (P3) for global data rather than the first (P5).
This allows the compiler's register allocator to use higher number scratch
P registers, which in turn better matches the Blackfin instruction set,
which reduces the size of U-Boot by more than 1024 bytes...

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
README
doc/README.standalone
examples/standalone/stubs.c
include/asm-blackfin/global_data.h
lib_blackfin/config.mk