u-boot/arch
Mike Frysinger 2e2ed3f4ff Blackfin: adjust asm constraints with NMI workaround
Newer gcc versions will sometimes use a Preg when "r" constraints, but
that'll fail if we use an Ireg in the assignment.  So force the code
to always use a Dreg.

This also fixes early boot crashes for older Blackfin parts when compiled
with gcc-4.5.  This version ends up selecting the same register for the
input and output variables which corrupts the output assignment triggering
an exception.
	P2 = 0xffe02008;	/* EVT2 */
	R0 = RETS;
	CALL 1f;
	RTN;
1:	P2 = RETS;	<-- BAD
	RETS = R0;
	[P2] = P2;	<-- BAD

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
2013-05-13 15:47:24 +08:00
..
arm lib: consolidate hang() 2013-05-01 16:41:08 -04:00
avr32 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
blackfin Blackfin: adjust asm constraints with NMI workaround 2013-05-13 15:47:24 +08:00
m68k lib: consolidate hang() 2013-05-01 16:41:08 -04:00
microblaze gpio: Add support for microblaze xilinx GPIO 2013-05-09 11:20:08 +02:00
mips lib: consolidate hang() 2013-05-01 16:41:08 -04:00
nds32 nds32: Use sections header to obtain link symbols 2013-05-08 12:38:10 +08:00
nios2 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
openrisc openrisc: move board linker script(s) to a common in cpu/ 2013-05-10 08:16:33 -04:00
powerpc Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2013-05-02 19:54:32 -04:00
sandbox sandbox: Allow -c argument to provide a command list 2013-05-01 11:17:21 -04:00
sh lib: consolidate hang() 2013-05-01 16:41:08 -04:00
sparc lib: consolidate hang() 2013-05-01 16:41:08 -04:00
x86 lib: consolidate hang() 2013-05-01 16:41:08 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00