u-boot-brain/arch/blackfin/cpu
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
..
.gitignore Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
bootrom-asm-offsets.awk blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
bootrom-asm-offsets.c.in Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cache.S linkage.h: move from blackfin to common includes 2012-02-12 15:03:26 -05:00
cpu.c blackfin: Remove noreturn attribute from cpu_init_f() 2013-03-15 16:14:01 -04:00
cpu.h Blackfin: replace "bfin_reset_or_hang()" with "panic()" 2011-04-08 00:44:27 -04:00
gpio.c blackfin: bf60x: add gpio support 2013-03-04 13:42:07 +08:00
init.lds.S Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
init.S Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
initcode.c Blackfin: adjust asm constraints with NMI workaround 2013-05-13 15:47:24 +08:00
initcode.h blackfin: bf60x: Port blackfin core architecture code to boot on bf60x. 2013-03-04 13:42:06 +08:00
interrupt.S Blackfin: set up simple NMI handlers for anomaly 05000219 2010-07-05 04:18:18 -04:00
interrupts.c Timer: Remove reset_timer() for non-Nios2 arches 2011-07-26 14:53:30 +02:00
jtag-console.c serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI 2012-10-15 11:53:51 -07:00
Makefile Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
os_log.c blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
reset.c blackfin: bf60x: Port blackfin core architecture code to boot on bf60x. 2013-03-04 13:42:06 +08:00
serial.c blackfin: bf60x: add serial support 2013-03-04 13:42:06 +08:00
serial.h blackfin: bf60x: add serial support 2013-03-04 13:42:06 +08:00
serial1.h blackfin: bf60x: add serial support 2013-03-04 13:42:06 +08:00
serial4.h blackfin: bf60x: add serial support 2013-03-04 13:42:06 +08:00
start.S blackfin: bf60x: add hw watchdog support 2013-03-04 13:42:07 +08:00
traps.c Blackfin: traps: fix up printf warnings from debug 2011-11-18 22:13:26 -05:00
u-boot.lds Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
watchdog.c blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00