uboot/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
Makefile
bootrom-asm-offsets.awk
bootrom-asm-offsets.c.in
cache.S
cpu.c blackfin: Remove noreturn attribute from cpu_init_f() 2013-03-15 16:14:01 -04:00
cpu.h
gpio.c blackfin: bf60x: add gpio support 2013-03-04 13:42:07 +08:00
init.S
init.lds.S
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
interrupts.c
jtag-console.c serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI 2012-10-15 11:53:51 -07:00
os_log.c
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
u-boot.lds Refactor linker-generated arrays 2013-03-12 23:28:40 +01:00
watchdog.c