diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-11 12:43:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-11 12:43:41 -0700 |
commit | 1d80cac0fe44fb87b2a3d35fddd7f534ea81cd90 (patch) | |
tree | 53b3e76a70e4ca6f77e29bcd47124d8b6a0b208e /arch/cris/boot/rescue/testrescue.S | |
parent | 7b5ca22643beba8fdd5b7055e0594a514b3710d7 (diff) | |
parent | 999fb23ef868719b8bd55ee3f6b1f7a8fd8016af (diff) |
Merge branch 'for-linus' of git://repo.or.cz/cris-mirror
* 'for-linus' of git://repo.or.cz/cris-mirror:
CRISv32: Fix typo compile error in ARTPEC-3 gpio driver.
CRIS: Wire up syscalls signalfd4 to writev.
CRISv32: Remove obsolete vcs_hook.o from Makefile
CRIS: Merge machine dependent boot/compressed and boot/rescue
Diffstat (limited to 'arch/cris/boot/rescue/testrescue.S')
-rw-r--r-- | arch/cris/boot/rescue/testrescue.S | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/cris/boot/rescue/testrescue.S b/arch/cris/boot/rescue/testrescue.S new file mode 100644 index 00000000000..fc7ec674eca --- /dev/null +++ b/arch/cris/boot/rescue/testrescue.S @@ -0,0 +1,24 @@ +/* + * Simple testcode to download by the rescue block. + * Just lights some LEDs to show it was downloaded correctly. + * + * Copyright (C) 1999 Axis Communications AB + */ + +#define ASSEMBLER_MACROS_ONLY +#include <arch/sv_addr_ag.h> + + .text + + nop + nop + moveq -1, $r2 + move.b $r2, [R_PORT_PA_DIR] + moveq 0, $r2 + move.b $r2, [R_PORT_PA_DATA] + +endless: + nop + ba endless + nop + |