u-boot/arch
Thomas Chou 7a6a7d10e6 nios2: fix out of reach case for do_reset
There is a limitation (or bug?) of nios2 toolchain. The nios2 gcc
didn't generate correct code when the reset vector is passed as a
constant. It just generated a direct "call", which was wrong when
the reset vector was not located in the same 256MB span as u-boot.

The "Nios II Processor Reference Handbook" said,
"call can transfer execution anywhere within the 256 MByte range
determined by PC31..28. The Nios II GNU linker does not automatically
handle cases in which the address is out of this range."

So we have to use registered "callr" instruction to do the job.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-08-19 22:15:49 -04:00
..
arm ARM: Update ARM mach-types 2010-08-18 21:15:57 +02:00
avr32 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
blackfin Blackfin: re-use board data in cpu banner 2010-08-11 11:29:19 -04:00
i386 Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
m68k miiphy: constify device name 2010-08-09 11:52:29 -07:00
microblaze Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
mips miiphy: constify device name 2010-08-09 11:52:29 -07:00
nios2 nios2: fix out of reach case for do_reset 2010-08-19 22:15:49 -04:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-arm 2010-08-10 23:03:15 +02:00
sh Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
sparc Rename getenv_r() into getenv_f() 2010-08-04 00:45:36 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00